diff options
Diffstat (limited to 'Source/Plugins/Plugin_VideoSoftware/Src/GLUtil.cpp')
| -rw-r--r-- | Source/Plugins/Plugin_VideoSoftware/Src/GLUtil.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Plugins/Plugin_VideoSoftware/Src/GLUtil.cpp b/Source/Plugins/Plugin_VideoSoftware/Src/GLUtil.cpp index d62ce2e630..d34ac78c16 100644 --- a/Source/Plugins/Plugin_VideoSoftware/Src/GLUtil.cpp +++ b/Source/Plugins/Plugin_VideoSoftware/Src/GLUtil.cpp @@ -296,7 +296,7 @@ bool OpenGL_Create(SVideoInitialize &_VideoInitialize, int _twidth, int _theight bool OpenGL_MakeCurrent() { #if defined(USE_WX) && USE_WX - GLWin.glCanvas->SetCurrent(*GLWin.glCtxt); + return GLWin.glCanvas->SetCurrent(*GLWin.glCtxt); #elif defined(_WIN32) return wglMakeCurrent(hDC,hRC) ? true : false; #elif defined(HAVE_X11) && HAVE_X11 @@ -383,6 +383,7 @@ void OpenGL_Update() void OpenGL_Shutdown() { #if defined(USE_WX) && USE_WX + GLWin.glCanvas->Hide(); delete GLWin.glCtxt; #elif defined(_WIN32) if (hRC) // Do We Have A Rendering Context? |
