X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a3bf4a6263417ff8ba29b529f5a076432ed6dbb8..050c9e3c90c58b05d5b3f7384d1556ca9669f13e:/src/mac/carbon/glcanvas.cpp?ds=sidebyside diff --git a/src/mac/carbon/glcanvas.cpp b/src/mac/carbon/glcanvas.cpp index 8edf2fc38e..2ff4a89128 100644 --- a/src/mac/carbon/glcanvas.cpp +++ b/src/mac/carbon/glcanvas.cpp @@ -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); } }