getVerticesSize got renamed to getVerticesByteSize

Change-Id: I7eff6eeb92aede6beb4412aa3e574ae75d651d8b
This commit is contained in:
Caolán McNamara
2016-12-05 09:37:50 +00:00
parent 5809f506f4
commit eab6ed9f00

View File

@@ -367,7 +367,7 @@ void Primitive::display(GLint primitiveTransformLocation, double nTime, double W
CHECK_GL_ERROR();
glBindBuffer(GL_ARRAY_BUFFER, nBuffer);
CHECK_GL_ERROR();
glBufferData(GL_ARRAY_BUFFER, getVerticesSize(), Vertices.data(), GL_STATIC_DRAW);
glBufferData(GL_ARRAY_BUFFER, getVerticesByteSize(), Vertices.data(), GL_STATIC_DRAW);
glEnableVertexAttribArray(0);
CHECK_GL_ERROR();