X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3a5ff9b13bd6bc7d1b5785b2588d92f4eab299fa..ccd67a6af88981a8c1a2b752a14051fe7698814b:/src/mac/carbon/glcanvas.cpp?ds=sidebyside diff --git a/src/mac/carbon/glcanvas.cpp b/src/mac/carbon/glcanvas.cpp index 28ea9f4d06..f1f70a4ecb 100644 --- a/src/mac/carbon/glcanvas.cpp +++ b/src/mac/carbon/glcanvas.cpp @@ -273,7 +273,6 @@ void wxGLCanvas::SetViewport() parms[2] = hiRect.size.width ; parms[3] = hiRect.size.height ; #else - Rect bounds ; GetWindowPortBounds( MAC_WXHWND(MacGetTopLevelWindowRef()) , &bounds ) ; GLint parms[4] ; parms[0] = x ;