summaryrefslogtreecommitdiff
path: root/gfx/gl
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2026-03-15 02:15:41 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2026-03-15 02:15:41 +0000
commit200b96d780598fe5ec59f2fc7e2e3eb6ac69d0de (patch)
treee078fdf6027a9914ad96c66e8f3849958dbad862 /gfx/gl
parentAdd missing algorithm include (diff)
downloadilt-200b96d780598fe5ec59f2fc7e2e3eb6ac69d0de.tar.bz2
ilt-200b96d780598fe5ec59f2fc7e2e3eb6ac69d0de.tar.xz
ilt-200b96d780598fe5ec59f2fc7e2e3eb6ac69d0de.zip
glAllocator revampHEADmain
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/gl')
-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;