diff options
| author | Dan Goodliffe <dan@randomdan.homeip.net> | 2026-03-15 02:15:41 +0000 |
|---|---|---|
| committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2026-03-15 02:15:41 +0000 |
| commit | 200b96d780598fe5ec59f2fc7e2e3eb6ac69d0de (patch) | |
| tree | e078fdf6027a9914ad96c66e8f3849958dbad862 /gfx | |
| parent | Add missing algorithm include (diff) | |
| download | ilt-200b96d780598fe5ec59f2fc7e2e3eb6ac69d0de.tar.bz2 ilt-200b96d780598fe5ec59f2fc7e2e3eb6ac69d0de.tar.xz ilt-200b96d780598fe5ec59f2fc7e2e3eb6ac69d0de.zip | |
Remove the map of buffers, now a fat pointer containing the buffer's
name. This is accessible via the container's begin/end iterator. Move
the bulk of the logic out of the template, it's mostly void * from the
mapping anyway. Add allocate_at_least support.
Diffstat (limited to 'gfx')
| -rw-r--r-- | gfx/gl/instanceVertices.h | 2 |
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; |
