Undeeded SDL_delay() in OS X.

This commit is contained in:
Steve Checkoway
2003-07-28 10:39:15 +00:00
parent 498d770210
commit 953eb15fbe
+3
View File
@@ -803,9 +803,12 @@ static void GameLoop()
*/
SCREENMAN->Draw();
/* This is unneeded in OS X. The OS handles all of this for us. */
#if !defined(DARWIN)
if(g_bHasFocus)
SDL_Delay( 1 ); // give some time to other processes and threads
else
SDL_Delay( 10 );// give some time to other processes and threads
#endif
}
}