From 83889f9a996134b4a9649f685b70a925eba45573 Mon Sep 17 00:00:00 2001 From: mcmartin Date: Tue, 10 Dec 2002 02:21:33 +0000 Subject: [PATCH] tiny fix git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@388 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/libs/graphics/sdl/sdl_common.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sc2/src/sc2code/libs/graphics/sdl/sdl_common.c b/sc2/src/sc2code/libs/graphics/sdl/sdl_common.c index 0adbd205b..8bb35615d 100644 --- a/sc2/src/sc2code/libs/graphics/sdl/sdl_common.c +++ b/sc2/src/sc2code/libs/graphics/sdl/sdl_common.c @@ -764,7 +764,8 @@ TFB_FlushGraphics () // Only call from main thread!! DC_image = 0; break; case TFB_DRAWCOMMANDTYPE_FLUSHGRAPHICS: - done = TRUE; + // done = TRUE; + TFB_SwapBuffers (); break; case TFB_DRAWCOMMANDTYPE_SKIPGRAPHICS: TFB_DrawCommandQueue_Clear (DrawCommandQueue); @@ -778,7 +779,7 @@ TFB_FlushGraphics () // Only call from main thread!! Unlock_DCQ (); } - TFB_SwapBuffers(); + TFB_SwapBuffers (); BroadcastCondVar (RenderingCond); }