diff options
| author | zakk <zakk@5198baeb-e213-0410-be47-fc2ff85ca46f> | 2003-01-04 11:37:43 +0000 |
|---|---|---|
| committer | zakk <zakk@5198baeb-e213-0410-be47-fc2ff85ca46f> | 2003-01-04 11:37:43 +0000 |
| commit | 3aeae09ec2f157997ef2b979effd4b84b393157d (patch) | |
| tree | 36f28bbf80487cb6d48eed58fdbfce18edaf3c5e /Source/GameLoop.cpp | |
| parent | 0d07d11c061e51fdde9661ddb472006c613496d3 (diff) | |
| download | blackshades-3aeae09ec2f157997ef2b979effd4b84b393157d.tar.gz | |
Bloot
git-svn-id: svn://svn.icculus.org/blackshades/trunk@9 5198baeb-e213-0410-be47-fc2ff85ca46f
Diffstat (limited to 'Source/GameLoop.cpp')
| -rw-r--r-- | Source/GameLoop.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/GameLoop.cpp b/Source/GameLoop.cpp index 6e222fd..bccffe2 100644 --- a/Source/GameLoop.cpp +++ b/Source/GameLoop.cpp @@ -256,7 +256,11 @@ void Game::EventLoop( void ) if ( DrawGLScene()) +#ifdef MAC aglSwapBuffers( gOpenGLContext ); +#else + SDL_GL_SwapBuffers( gOpenGLContext ); +#endif else @@ -368,4 +372,4 @@ void Game::EventLoop( void ) } -}
\ No newline at end of file +} |
