diff options
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 +} |
