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:
@@ -1,4 +1,5 @@
|
||||
Changes towards version 0.5:
|
||||
- Added missing break statement in DrawBatch:RECT_PRIM - Alex
|
||||
- Setup menu split into four submenus - Michael
|
||||
- Fixed fallback in getHomeDir() for when $HOME is not defined on *nix
|
||||
- SvdB
|
||||
|
||||
@@ -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