From 0d07d11c061e51fdde9661ddb472006c613496d3 Mon Sep 17 00:00:00 2001 From: zakk Date: Sat, 4 Jan 2003 11:32:53 +0000 Subject: ifdefing some call bloop git-svn-id: svn://svn.icculus.org/blackshades/trunk@8 5198baeb-e213-0410-be47-fc2ff85ca46f --- Source/GameInitDispose.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Source/GameInitDispose.cpp') diff --git a/Source/GameInitDispose.cpp b/Source/GameInitDispose.cpp index 23880a1..01915d8 100644 --- a/Source/GameInitDispose.cpp +++ b/Source/GameInitDispose.cpp @@ -959,8 +959,11 @@ void Game::LoadingScreen(float percent) - +#ifdef MAC aglSwapBuffers( gOpenGLContext ); +#else + SDL_GL_SwapBuffers( gOpenGLContext ); +#endif } @@ -3488,6 +3491,8 @@ void Game::InitGame() aglSetInteger(gOpenGLContext, AGL_SWAP_INTERVAL, &swapInt); + + } /* -- cgit v1.2.3