diff --git a/Source/Plugins/Plugin_VideoOGL/Src/main.cpp b/Source/Plugins/Plugin_VideoOGL/Src/main.cpp index 48f155302a..b69e64047a 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/main.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/main.cpp @@ -231,7 +231,7 @@ 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 false; + return; } #elif defined(OSX64) cocoaGLMakeCurrent(GLWin.cocoaCtx,GLWin.cocoaWin);