From 0ca6a4021b0ed96be48cda29c484c15556b8c283 Mon Sep 17 00:00:00 2001 From: tmator Date: Mon, 27 Oct 2008 21:02:48 +0000 Subject: [PATCH] sutpid error git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@977 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp b/Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp index 6bd8776571..84afbad6ae 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/GLUtil.cpp @@ -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);