- clear the screen before drawing content, not afterward.
The intermission screens got it wrong and drew the black border over the image.
This commit is contained in:
parent
15d4fb8fcd
commit
d32e0b91c2
2 changed files with 2 additions and 4 deletions
|
|
@ -231,7 +231,6 @@ void DIntermissionScreen::Drawer ()
|
|||
if (CheckOverlay(i))
|
||||
screen->DrawTexture (TexMan.GetTexture(mOverlays[i].mPic), mOverlays[i].x, mOverlays[i].y, DTA_320x200, true, TAG_DONE);
|
||||
}
|
||||
if (!mFlatfill) screen->FillBorder (NULL);
|
||||
if (mSubtitle)
|
||||
{
|
||||
const char *sub = mSubtitle.GetChars();
|
||||
|
|
@ -293,7 +292,6 @@ void DIntermissionScreenFader::Drawer ()
|
|||
if (CheckOverlay(i))
|
||||
screen->DrawTexture (TexMan.GetTexture(mOverlays[i].mPic), mOverlays[i].x, mOverlays[i].y, DTA_320x200, true, DTA_ColorOverlay, color, TAG_DONE);
|
||||
}
|
||||
screen->FillBorder (NULL);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -756,7 +754,6 @@ void DIntermissionScreenScroller::Drawer ()
|
|||
DTA_Masked, false,
|
||||
TAG_DONE);
|
||||
|
||||
screen->FillBorder (NULL);
|
||||
mBackground = mSecondPic;
|
||||
}
|
||||
else
|
||||
|
|
@ -921,6 +918,7 @@ void DIntermissionController::Drawer ()
|
|||
{
|
||||
if (mScreen != NULL)
|
||||
{
|
||||
screen->FillBorder(nullptr);
|
||||
mScreen->Drawer();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue