fixed erroneous use of SetCurrent() (only in my last commit)
This commit is contained in:
parent
61aca44ba5
commit
38aeb5d3e4
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue