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:
parent
9a43ed822e
commit
494c859cbe
|
@ -229,10 +229,11 @@ void Video_Initialize(SVideoInitialize* _pVideoInitialize)
|
||||||
|
|
||||||
void Video_DoState(unsigned char **ptr, int mode) {
|
void Video_DoState(unsigned char **ptr, int mode) {
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
if (!wglMakeCurrent(hDC,hRC)) {
|
// What is this code doing here?
|
||||||
PanicAlert("Can't Activate The GL Rendering Context for saving");
|
// if (!wglMakeCurrent(hDC,hRC)) {
|
||||||
return;
|
// PanicAlert("Can't Activate The GL Rendering Context for saving");
|
||||||
}
|
// return;
|
||||||
|
// }
|
||||||
#elif defined(OSX64)
|
#elif defined(OSX64)
|
||||||
cocoaGLMakeCurrent(GLWin.cocoaCtx,GLWin.cocoaWin);
|
cocoaGLMakeCurrent(GLWin.cocoaCtx,GLWin.cocoaWin);
|
||||||
#else // Linux
|
#else // Linux
|
||||||
|
|
Loading…
Reference in New Issue