summaryrefslogtreecommitdiff
path: root/gfx/gl/instanceVertices.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/gl/instanceVertices.h')
-rw-r--r--gfx/gl/instanceVertices.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/gl/instanceVertices.h b/gfx/gl/instanceVertices.h
index e2bf46e..d984938 100644
--- a/gfx/gl/instanceVertices.h
+++ b/gfx/gl/instanceVertices.h
@@ -124,7 +124,7 @@ public:
[[nodiscard]] GLuint
bufferName() const
{
- return base::get_allocator().getNameFor(static_cast<const base &>(*this));
+ return base::begin().base().bufferName();
}
using typename base::value_type;