mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-11 00:29:11 +01:00
sutpid error
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@977 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
a7be7689c1
commit
0ca6a4021b
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user