added back SetCurrent() call accidentally removed in one of recent commits
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
bc521497d3
commit
e559e76ed9
@ -146,6 +146,8 @@ TestGLContext& MyApp::GetContext(wxGLCanvas *canvas)
|
||||
{
|
||||
if ( !m_glContext )
|
||||
m_glContext = new TestGLContext(canvas);
|
||||
else
|
||||
m_glContext->SetCurrent(*canvas);
|
||||
|
||||
return *m_glContext;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user