]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/glcanvas.cpp
toplevel code transferred to wxTopLevelWindow
[wxWidgets.git] / src / mac / glcanvas.cpp
index 8edf2fc38e9c533c57b9a84b9f381fbabdb82462..2ff4a891281280606ad0baf1ae5123c0f0d907f0 100644 (file)
@@ -273,12 +273,7 @@ void wxGLCanvas::MacUpdateView()
   {
     UpdateContext();
     m_glContext->SetCurrent();
-
     SetViewport();
-    glMatrixMode(GL_PROJECTION);
-    glLoadIdentity();
-    glFrustum( -1.0, 1.0, -1.0, 1.0, 5.0, 15.0 );
-    glMatrixMode(GL_MODELVIEW);
   }
 }