special thanks to john_connor for finding the display problem
This commit is contained in:
@@ -348,7 +348,7 @@ void OpenGLController::loadMsh(const char * path)
|
|||||||
glBindBuffer(GL_ARRAY_BUFFER, gluiVertexBufferID);
|
glBindBuffer(GL_ARRAY_BUFFER, gluiVertexBufferID);
|
||||||
glBufferData(
|
glBufferData(
|
||||||
GL_ARRAY_BUFFER,
|
GL_ARRAY_BUFFER,
|
||||||
sizeof(tempBufferData) * tempBufferData.size(),
|
sizeof(Vertex) * tempBufferData.size(),
|
||||||
tempBufferData.data(),
|
tempBufferData.data(),
|
||||||
GL_STATIC_DRAW
|
GL_STATIC_DRAW
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user