diff options
-rw-r--r-- | gfx/gl/vertexArrayObject.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/gl/vertexArrayObject.hpp b/gfx/gl/vertexArrayObject.hpp index d90cc59..e0c6d76 100644 --- a/gfx/gl/vertexArrayObject.hpp +++ b/gfx/gl/vertexArrayObject.hpp @@ -50,7 +50,7 @@ private: static void data(const Data & data, const GLuint arrayBuffer, GLenum target) { - using Value = typename Data::element_type; + using Value = typename Data::value_type; glBindBuffer(target, arrayBuffer); glBufferData(target, static_cast<GLsizeiptr>(sizeof(Value) * data.size()), data.data(), GL_STATIC_DRAW); } |