From 3aeae09ec2f157997ef2b979effd4b84b393157d Mon Sep 17 00:00:00 2001 From: zakk Date: Sat, 4 Jan 2003 11:37:43 +0000 Subject: Bloot git-svn-id: svn://svn.icculus.org/blackshades/trunk@9 5198baeb-e213-0410-be47-fc2ff85ca46f --- Source/GameLoop.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Source/GameLoop.cpp') 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 +} -- cgit v1.2.3