diff options
| author | Glenn Rice <glennricster@gmail.com> | 2011-03-02 15:13:13 +0000 |
|---|---|---|
| committer | Glenn Rice <glennricster@gmail.com> | 2011-03-02 15:13:13 +0000 |
| commit | 3ffdcf1aecddd26ab1ef2b6cd84ca0150dd78ea5 (patch) | |
| tree | 6a05dbea55003d4c1bebe34ccfcfff2991b7ca8f /Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp | |
| parent | a1055bf5bf18bd79a33d29f3c0db69f537f2e1d9 (diff) | |
Put the video prepare code back, and use the existence of the g_renderer to determine if video prepare has been run or not.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7274 8ced0084-cf51-0410-be5f-012b33b47a6e
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() { |
