diff options
| author | oy <Tom_Adams@web.de> | 2012-01-06 14:12:49 +0100 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2012-01-06 14:12:49 +0100 |
| commit | 71dd0c5aab9b4f2dd50b3e935db764a3868de83e (patch) | |
| tree | 56206926b61636ebc981a25f90547b32f5fbc0c7 /src/engine/client/backend_sdl.cpp | |
| parent | 12f76e7f8d935443bd4590af4ff12f95a3d4a94b (diff) | |
| download | zcatch-71dd0c5aab9b4f2dd50b3e935db764a3868de83e.tar.gz zcatch-71dd0c5aab9b4f2dd50b3e935db764a3868de83e.zip | |
made gfx_finish work again
Diffstat (limited to 'src/engine/client/backend_sdl.cpp')
| -rw-r--r-- | src/engine/client/backend_sdl.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/engine/client/backend_sdl.cpp b/src/engine/client/backend_sdl.cpp index 691d193c..3f74f87e 100644 --- a/src/engine/client/backend_sdl.cpp +++ b/src/engine/client/backend_sdl.cpp @@ -290,6 +290,9 @@ void CCommandProcessorFragment_SDL::Cmd_Shutdown(const SCommand_Shutdown *pComma void CCommandProcessorFragment_SDL::Cmd_Swap(const CCommandBuffer::SCommand_Swap *pCommand) { GL_SwapBuffers(m_GLContext); + + if(pCommand->m_Finish) + glFinish(); } void CCommandProcessorFragment_SDL::Cmd_VideoModes(const CCommandBuffer::SCommand_VideoModes *pCommand) |