]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/glcanvas.cpp
further encapsulation of graphics context, wxdc becoming 'generic'
[wxWidgets.git] / src / mac / carbon / glcanvas.cpp
index 28ea9f4d06ce61455a8337a911a4243119b28406..f1f70a4ecbd01393cdd2db3daf6662a061de5999 100644 (file)
@@ -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 ;