tiny fix
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@388 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user