From 494c859cbe7c6a660fdbd604f4389a88d64d1ca1 Mon Sep 17 00:00:00 2001 From: hrydgard Date: Thu, 27 Nov 2008 21:09:50 +0000 Subject: [PATCH] Build fix. Please clarify what is going on, what was this code doing here? git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1316 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_VideoOGL/Src/main.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Source/Plugins/Plugin_VideoOGL/Src/main.cpp b/Source/Plugins/Plugin_VideoOGL/Src/main.cpp index b69e64047a..df9355d442 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/main.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/main.cpp @@ -229,10 +229,11 @@ void Video_Initialize(SVideoInitialize* _pVideoInitialize) void Video_DoState(unsigned char **ptr, int mode) { #ifdef _WIN32 - if (!wglMakeCurrent(hDC,hRC)) { - PanicAlert("Can't Activate The GL Rendering Context for saving"); - return; - } +// What is this code doing here? +// if (!wglMakeCurrent(hDC,hRC)) { +// PanicAlert("Can't Activate The GL Rendering Context for saving"); +// return; +// } #elif defined(OSX64) cocoaGLMakeCurrent(GLWin.cocoaCtx,GLWin.cocoaWin); #else // Linux