summaryrefslogtreecommitdiff
path: root/gfx/models/vertex.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2026-03-11 01:36:17 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2026-03-11 01:36:17 +0000
commitc6cff2f1e823327129ed7d044cec6c05fa7525a1 (patch)
tree87025e984f4d7fba2338bb585190b2107cc8573b /gfx/models/vertex.cpp
parentReplace hacky m4 shader preprocessing with proper glslang version (diff)
downloadilt-c6cff2f1e823327129ed7d044cec6c05fa7525a1.tar.bz2
ilt-c6cff2f1e823327129ed7d044cec6c05fa7525a1.tar.xz
ilt-c6cff2f1e823327129ed7d044cec6c05fa7525a1.zip
Split addAttribsFor away from requiring a buffer to bind
Diffstat (limited to 'gfx/models/vertex.cpp')
-rw-r--r--gfx/models/vertex.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gfx/models/vertex.cpp b/gfx/models/vertex.cpp
index dc32f72..4b5ce54 100644
--- a/gfx/models/vertex.cpp
+++ b/gfx/models/vertex.cpp
@@ -3,8 +3,8 @@
template<>
Impl::VertexArrayConfigurator &
-Impl::VertexArrayConfigurator::addAttribsFor<Vertex>(const GLuint divisor, const glBuffer & buffer)
+Impl::VertexArrayConfigurator::addAttribsFor<Vertex>(const GLuint divisor)
{
return addAttribs<Vertex, &Vertex::pos, &Vertex::texCoord, &Vertex::normal, &Vertex::colour, &Vertex::material>(
- divisor, buffer);
+ divisor);
}