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
This commit is contained in:
hrydgard 2008-11-27 21:09:50 +00:00
parent 9a43ed822e
commit 494c859cbe
1 changed files with 5 additions and 4 deletions

View File

@ -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