- use a full ClearScreen when drawing fullscreen images.
This removes the FillBorder function which was only used to clear the border around those images - but due to imprecisions can leave garbage behind.
This commit is contained in:
parent
d1cbabff66
commit
9c7bc99201
4 changed files with 2 additions and 52 deletions
|
|
@ -726,8 +726,8 @@ void WI_Drawer()
|
|||
ScaleOverrider s(twod);
|
||||
IFVIRTUALPTRNAME(WI_Screen, "StatusScreen", Drawer)
|
||||
{
|
||||
FillBorder(twod, nullptr);
|
||||
twod->ClearClipRect();
|
||||
twod->ClearScreen();
|
||||
VMValue self = WI_Screen;
|
||||
VMCall(func, &self, 1, nullptr, 0);
|
||||
twod->ClearClipRect(); // make sure the scripts don't leave a valid clipping rect behind.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue