Commit 3af88645 authored by Anakin's avatar Anakin

special thanks to john_connor for finding the display problem

parent bc518f58
......@@ -348,7 +348,7 @@ void OpenGLController::loadMsh(const char * path)
glBindBuffer(GL_ARRAY_BUFFER, gluiVertexBufferID);
glBufferData(
GL_ARRAY_BUFFER,
sizeof(tempBufferData) * tempBufferData.size(),
sizeof(Vertex) * tempBufferData.size(),
tempBufferData.data(),
GL_STATIC_DRAW
);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment