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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user