diff options
Diffstat (limited to 'Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp')
| -rw-r--r-- | Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp b/Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp index ce4198f699..2335edfa0b 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp @@ -529,15 +529,6 @@ bool OpenGL_MakeCurrent() return true; } -bool OpenGL_ReleaseContext() -{ -#ifdef _WIN32 - return wglMakeCurrent(NULL, NULL); -#elif defined(HAVE_X11) && HAVE_X11 - return glXMakeCurrent(GLWin.dpy, None, NULL); -#endif -} - // Update window width, size and etc. Called from Render.cpp void OpenGL_Update() { |
