git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@388 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
mcmartin
2002-12-10 02:21:33 +00:00
parent f9807bf16d
commit 83889f9a99
@@ -764,7 +764,8 @@ TFB_FlushGraphics () // Only call from main thread!!
DC_image = 0; DC_image = 0;
break; break;
case TFB_DRAWCOMMANDTYPE_FLUSHGRAPHICS: case TFB_DRAWCOMMANDTYPE_FLUSHGRAPHICS:
done = TRUE; // done = TRUE;
TFB_SwapBuffers ();
break; break;
case TFB_DRAWCOMMANDTYPE_SKIPGRAPHICS: case TFB_DRAWCOMMANDTYPE_SKIPGRAPHICS:
TFB_DrawCommandQueue_Clear (DrawCommandQueue); TFB_DrawCommandQueue_Clear (DrawCommandQueue);
@@ -778,7 +779,7 @@ TFB_FlushGraphics () // Only call from main thread!!
Unlock_DCQ (); Unlock_DCQ ();
} }
TFB_SwapBuffers(); TFB_SwapBuffers ();
BroadcastCondVar (RenderingCond); BroadcastCondVar (RenderingCond);
} }