Have presentations request their own full-screen clears

This will let custom ship spins use Presentations to
display data over themselves without wiping out the
underlyin image.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2845 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
mcmartin
2007-09-02 01:10:42 +00:00
parent 05bf5119fa
commit a6d90b4dfe
4 changed files with 14 additions and 5 deletions
-4
View File
@@ -730,10 +730,6 @@ ShowPresentation (STRING PresStr)
OldContext = SetContext (ScreenContext);
GetContextClipRect (&OldRect);
OldFont = SetContextFont (NULL);
/* paint black rect over screen */
SetContextBackGroundColor (
BUILD_COLOR (MAKE_RGB15 (0x00, 0x00, 0x00), 0x00));
ClearDrawable ();
UnlockMutex (GraphicsLock);
FlushInput ();