diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2012-01-03 22:53:24 +0100 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2012-01-03 22:53:24 +0100 |
| commit | 7393151b6d4cbfd8c4be29145344dcce22aa47d7 (patch) | |
| tree | 8e4a4a75c6285965ba137d4a30c1e6dbd2208e25 /src/engine | |
| parent | 666401e309e21b30285bc2545038a624c1c023eb (diff) | |
| download | zcatch-7393151b6d4cbfd8c4be29145344dcce22aa47d7.tar.gz zcatch-7393151b6d4cbfd8c4be29145344dcce22aa47d7.zip | |
fixed the osx opengl make current thingie.. I think...
Diffstat (limited to 'src/engine')
| -rw-r--r-- | src/engine/client/backend_sdl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/client/backend_sdl.h b/src/engine/client/backend_sdl.h index ca3ae3e5..6e040510 100644 --- a/src/engine/client/backend_sdl.h +++ b/src/engine/client/backend_sdl.h @@ -24,7 +24,7 @@ } static void GL_MakeCurrent(const SGLContext &Context) { wglMakeCurrent(Context.m_hDC, Context.m_hGLRC); } - static void GL_ReleaseContext(const SGLContext &Context) { wglMakeCurrent(Context.m_hDC, NULL); } + static void GL_ReleaseContext(const SGLContext &Context) { wglMakeCurrent(AGL_NONE, NULL); } static void GL_SwapBuffers(const SGLContext &Context) { SwapBuffers(Context.m_hDC); } #elif defined(CONF_PLATFORM_MACOSX) #warning Untested implementation. I have no Mac OS X machine to test on. Please test, verify, fix and then remove this warning |