Fixed missing break statement in DrawBatch(); spotted by Alex
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1879 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -178,6 +178,7 @@ DrawBatch (PPRIMITIVE lpBasePrim, PRIM_LINKS PrimLinks,
|
||||
case RECT_PRIM:
|
||||
COLORtoPalette (GetPrimColor (lpWorkPrim), &color);
|
||||
TFB_Prim_Rect (&lpWorkPrim->Object.Rect, &color);
|
||||
break;
|
||||
case RECTFILL_PRIM:
|
||||
COLORtoPalette (GetPrimColor (lpWorkPrim), &color);
|
||||
TFB_Prim_FillRect (&lpWorkPrim->Object.Rect, &color);
|
||||
|
||||
Reference in New Issue
Block a user