update wfobj to new version, remove draw() call
This commit is contained in:
1 parent
6a8e7b4b4b
commit
66c58b1f9a
2 files changed
+2
-2
No files matched your search
+1
-1
Submodule wfobj updated: 933c4b457a...2ffcdfb3dc.
+1
-1
@@ -116,7 +116,7 @@ void Viewer::display()
|
|||||||
glLoadIdentity();
|
glLoadIdentity();
|
||||||
gluLookAt(0, -m_dist, 0, 0, 0, 0, 0, 0, 1);
|
gluLookAt(0, -m_dist, 0, 0, 0, 0, 0, 0, 1);
|
||||||
glMultMatrixf(m_rotationMatrix);
|
glMultMatrixf(m_rotationMatrix);
|
||||||
m_obj.draw();
|
m_obj.bindBuffers();
|
||||||
SDL_GL_SwapBuffers();
|
SDL_GL_SwapBuffers();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user