about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2012-01-04 00:52:24 +0100
committeroy <Tom_Adams@web.de>2012-01-04 00:52:24 +0100
commitcc94472f04f4be1c84679b21624deb0ee352c486 (patch)
tree93f62b82fe64c4aae2aa6b6f3be8012790d3890b /src
parent213b88835eaa8fb13ae9b6a71283b03f89e057bd (diff)
downloadzcatch-cc94472f04f4be1c84679b21624deb0ee352c486.tar.gz
zcatch-cc94472f04f4be1c84679b21624deb0ee352c486.zip
fixed mac osx
Diffstat (limited to 'src')
-rw-r--r--src/engine/client/backend_sdl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/client/backend_sdl.h b/src/engine/client/backend_sdl.h
index 5a4488a6..62ac6f7c 100644
--- a/src/engine/client/backend_sdl.h
+++ b/src/engine/client/backend_sdl.h
@@ -44,7 +44,7 @@
 	}
 
 	static void GL_MakeCurrent(const SGLContext &Context) { aglMakeCurrent(Context.m_Drawable, Context.m_Context); }
-	static void GL_ReleaseContext(const SGLContext &Context) { aglMakeCurrent(Context.m_Drawable, NULL); }
+	static void GL_ReleaseContext(const SGLContext &Context) { aglMakeCurrent(AGL_NONE, NULL); }
 	static void GL_SwapBuffers(const SGLContext &Context) { aglSwapBuffers(Context.m_Drawable); }
 		
 #elif defined(CONF_FAMILY_UNIX)