getVerticesSize got renamed to getVerticesByteSize
Change-Id: I7eff6eeb92aede6beb4412aa3e574ae75d651d8b
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user