From 3ffdcf1aecddd26ab1ef2b6cd84ca0150dd78ea5 Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Wed, 2 Mar 2011 15:13:13 +0000 Subject: 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 --- Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp') 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() { -- cgit v1.2.3