summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/Plugins/Plugin_VideoOGL/Src/main.cpp9
1 files 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