update wfobj to new version, remove draw() call
This commit is contained in:
parent
6a8e7b4b4b
commit
66c58b1f9a
2
wfobj
2
wfobj
@ -1 +1 @@
|
|||||||
Subproject commit 933c4b457a7e4824d30692c2cac7a947caa0720d
|
Subproject commit 2ffcdfb3dccb682118eaea5464f05d4fdd9dbebf
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user