parent
57472da352
commit
07bf3f9394
|
@ -97,6 +97,7 @@ void OpenGLController::processInit()
|
|||
|
||||
// generate stuff
|
||||
glGenVertexArrays(1, &gluiVertexArrayID);
|
||||
glBindVertexArray(gluiVertexArrayID);
|
||||
|
||||
glGenBuffers(1, &gluiVertexBufferID);
|
||||
glGenBuffers(1, &gluiUVBufferID);
|
||||
|
@ -196,7 +197,6 @@ glm::mat4 OpenGLController::getMVPMatrix()
|
|||
m4x4Model = glm::rotate(m4x4Model, fRotationZ, glm::vec3(0, 0, 1));
|
||||
|
||||
return m4x4Projection * m4x4View * m4x4Model;
|
||||
|
||||
}
|
||||
|
||||
GLFWwindow * OpenGLController::getWindow() const
|
||||
|
|
Loading…
Reference in New Issue