fixed wrong placed triangles,

updated release exe
This commit is contained in:
Anakin
2016-10-23 16:24:36 +02:00
parent 5cec0128cd
commit a8bfacfd73
3 changed files with 1 additions and 2 deletions

View File

@@ -247,7 +247,7 @@ void OpenGLController::updateScene()
glVertexAttribPointer(1, 2, GL_FLOAT, GL_FALSE, 0, 0);
//draw objects
glDrawArrays(GL_TRIANGLES, 0, ui32MeshSize * 3);
glDrawArrays(GL_TRIANGLES, 0, ui32MeshSize);
//close attributes
glDisableVertexAttribArray(0);