add aglUpdateContext() call (doesn't seem to change anything but should be there according to the docs)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-04-11 13:55:04 +00:00
parent 4325471812
commit 1be2473f59

View File

@@ -363,9 +363,10 @@ void wxGLCanvas::SetViewport()
parms[0] += 20000;
if ( !aglSetInteger(context, AGL_BUFFER_RECT, parms) )
{
wxLogAGLError("aglSetInteger(AGL_BUFFER_RECT)");
}
if ( !aglUpdateContext(context) )
wxLogAGLError("aglUpdateContext");
}
void wxGLCanvas::OnSize(wxSizeEvent& event)