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