Full screen transitions do not need to specify a rect

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3423 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
avolkov
2009-12-11 18:46:09 +00:00
parent c984f9c48c
commit 2057e5e2bd
2 changed files with 2 additions and 18 deletions
+1 -9
View File
@@ -719,15 +719,7 @@ DoOutfit (MENU_STATE *pMS)
DrawFlagshipStats ();
UnlockMutex (GraphicsLock);
{
RECT r;
r.corner.x = 0;
r.corner.y = 0;
r.extent.width = SCREEN_WIDTH;
r.extent.height = SCREEN_HEIGHT;
ScreenTransition (3, &r);
}
ScreenTransition (3, NULL);
PlayMusic (pMS->hMusic, TRUE, 1);
UnbatchGraphics ();
+1 -9
View File
@@ -331,15 +331,7 @@ DoStarBase (MENU_STATE *pMS)
ClearDrawable ();
rotateStarbase (pMS, pMS->CurFrame);
DrawBaseStateStrings ((STARBASE_STATE)~0, pMS->CurState);
{
RECT r;
r.corner.x = 0;
r.corner.y = 0;
r.extent.width = SCREEN_WIDTH;
r.extent.height = SCREEN_HEIGHT;
ScreenTransition (3, &r);
}
ScreenTransition (3, NULL);
PlayMusic (pMS->hMusic, TRUE, 1);
UnbatchGraphics ();
UnlockMutex (GraphicsLock);