From 953eb15fbe1f177278d038bd87de06c10c7d49f8 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Mon, 28 Jul 2003 10:39:15 +0000 Subject: [PATCH] Undeeded SDL_delay() in OS X. --- stepmania/src/StepMania.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stepmania/src/StepMania.cpp b/stepmania/src/StepMania.cpp index db631d0789..4878a7a0ee 100644 --- a/stepmania/src/StepMania.cpp +++ b/stepmania/src/StepMania.cpp @@ -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 } }