sutpid error

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@977 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
tmator 2008-10-27 21:02:48 +00:00
parent a7be7689c1
commit 0ca6a4021b

View File

@ -64,7 +64,7 @@ void OpenGL_SwapBuffers()
#if USE_SDL
SDL_GL_SwapBuffers();
#elif defined(OSX64)
cocoaGLSwap(GLWin.cocoaWin,GLWin.cocoaWin);
cocoaGLSwap(GLWin.cocoaCtx,GLWin.cocoaWin);
#elif defined(_WIN32)
SwapBuffers(hDC);
#else // GLX
@ -496,7 +496,7 @@ bool OpenGL_MakeCurrent()
return false;
}
#elif defined(OSX64)
cocoaGLMakeCurrent(GLWin.cocoaWin,GLWin.cocoaCtx);
cocoaGLMakeCurrent(GLWin.cocoaCtx,GLWin.cocoaWin);
#elif defined(_WIN32)
if (!wglMakeCurrent(hDC,hRC)) {
MessageBox(NULL,"(5) Can't Activate The GL Rendering Context.","ERROR",MB_OK|MB_ICONEXCLAMATION);