Commit 38aeb5d3 authored by charras's avatar charras

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

parent 61aca44b
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment