diff --git a/wfobj b/wfobj index 933c4b4..2ffcdfb 160000 --- a/wfobj +++ b/wfobj @@ -1 +1 @@ -Subproject commit 933c4b457a7e4824d30692c2cac7a947caa0720d +Subproject commit 2ffcdfb3dccb682118eaea5464f05d4fdd9dbebf diff --git a/wfobj-view.cc b/wfobj-view.cc index 75c97d7..c662fba 100644 --- a/wfobj-view.cc +++ b/wfobj-view.cc @@ -116,7 +116,7 @@ void Viewer::display() glLoadIdentity(); gluLookAt(0, -m_dist, 0, 0, 0, 0, 0, 0, 1); glMultMatrixf(m_rotationMatrix); - m_obj.draw(); + m_obj.bindBuffers(); SDL_GL_SwapBuffers(); }