fixed erroneous use of SetCurrent() (only in my last commit)

This commit is contained in:
charras 2009-07-21 05:25:39 +00:00
parent 61aca44ba5
commit 38aeb5d3e4
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ Pcb3D_GLCanvas::Pcb3D_GLCanvas( WinEDA3D_DrawFrame* parent ) :
// Make the new context current (activate it for use) with this canvas.
SetCurrent(*m_glRC);
#else
SetCurrent(NULL);
SetCurrent( );
#endif
DisplayStatus();
}

View File

@ -49,7 +49,7 @@ void Pcb3D_GLCanvas::Redraw( bool finish )
#if wxCHECK_VERSION( 2, 9, 0 )
SetCurrent(*m_glRC);
#else
SetCurrent(NULL);
SetCurrent( );
#endif
InitGL();