From 4420f20a901ed1f96d9fb8f4df0148bc0bc3666d Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 7 Mar 2026 12:32:55 +0000 Subject: Add glVertexArray useBuffer Wraps glVertexArrayVertexBuffer automatically getting the buffer name from the argument and deriving the stride from the container's value_type. --- gfx/gl/instanceVertices.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gfx/gl/instanceVertices.h') diff --git a/gfx/gl/instanceVertices.h b/gfx/gl/instanceVertices.h index f24eaa3..2643e68 100644 --- a/gfx/gl/instanceVertices.h +++ b/gfx/gl/instanceVertices.h @@ -126,6 +126,8 @@ public: return base::get_allocator().getNameFor(static_cast(*this)); } + using base::value_type; + using base::at; using base::begin; using base::cbegin; -- cgit v1.3