diff options
| author | oy <Tom_Adams@web.de> | 2012-01-04 00:48:04 +0100 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2012-01-04 00:48:04 +0100 |
| commit | 213b88835eaa8fb13ae9b6a71283b03f89e057bd (patch) | |
| tree | 94f82ffdd09f47bce0167e2e649adc160cc5fc4f /src | |
| parent | 7328098f8d03e65975ec82162d2049f46fed223d (diff) | |
| download | zcatch-213b88835eaa8fb13ae9b6a71283b03f89e057bd.tar.gz zcatch-213b88835eaa8fb13ae9b6a71283b03f89e057bd.zip | |
fixed compiling on windows
Diffstat (limited to 'src')
| -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 6e040510..5a4488a6 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(AGL_NONE, NULL); } + static void GL_ReleaseContext(const SGLContext &Context) { wglMakeCurrent(NULL, 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 |