From 735e636f97ee08fa8bc6fb4c7f57001994e10c54 Mon Sep 17 00:00:00 2001 From: gewlitys Date: Tue, 10 Dec 2002 16:24:52 +0000 Subject: [PATCH] Changed SDL_Delay to SleepThread git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@389 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/libs/graphics/sdl/sdl_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sc2/src/sc2code/libs/graphics/sdl/sdl_common.c b/sc2/src/sc2code/libs/graphics/sdl/sdl_common.c index 8bb35615d..df21b5d0c 100644 --- a/sc2/src/sc2code/libs/graphics/sdl/sdl_common.c +++ b/sc2/src/sc2code/libs/graphics/sdl/sdl_common.c @@ -539,7 +539,7 @@ TFB_FlushGraphics () // Only call from main thread!! } else { - SDL_Delay(1); + SleepThread (1); } last_fade = current_fade;