From a6052168340f9831c766f76a3ec7b94da38da78a Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 4 Mar 2026 16:53:58 +0000 Subject: Replace basic glVertexArray with a specific class ready for helpers --- gfx/gl/glVertexArray.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 gfx/gl/glVertexArray.h (limited to 'gfx/gl/glVertexArray.h') diff --git a/gfx/gl/glVertexArray.h b/gfx/gl/glVertexArray.h new file mode 100644 index 0000000..891f21d --- /dev/null +++ b/gfx/gl/glVertexArray.h @@ -0,0 +1,15 @@ +#pragma once + +#include "config/types.h" +#include "glArrays.h" + +namespace Impl { + // NOLINTNEXTLINE(readability-identifier-naming) + struct glVertexArray : Detail::glNamed { }; +} + +// NOLINTBEGIN(readability-identifier-naming) +template +using glVertexArrays = glManagedArray; +using glVertexArray = glManagedSingle; +// NOLINTEND(readability-identifier-naming) -- cgit v1.3