mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-15 22:38:09 +00:00
SCI/newgui: fill screen with white instead of black before picture drawing, fixes some pixels of some screens
svn-id: r45481
This commit is contained in:
parent
5f71650520
commit
142d2e73c0
@ -303,7 +303,7 @@ void SciGuiGfx::drawPicture(GuiResourceId pictureId, int16 animationNr, bool mir
|
||||
// do we add to a picture? if not -> clear screen
|
||||
if (!addToFlag) {
|
||||
if (_s->resMan->isVGA())
|
||||
ClearScreen(0);
|
||||
ClearScreen(255);
|
||||
else
|
||||
ClearScreen(15);
|
||||
}
|
||||
|
@ -605,7 +605,7 @@ void SciGuiPicture::vectorFloodFill(int16 x, int16 y, byte color, byte priority,
|
||||
// This logic was taken directly from sierra sci, floodfill will get aborted on various occations
|
||||
if (screenMask & SCI_SCREEN_MASK_VISUAL) {
|
||||
if (_resMan->isVGA()) {
|
||||
if ((color == 255) || (searchColor != 0))
|
||||
if ((color == 255) || (searchColor != 255))
|
||||
return;
|
||||
} else {
|
||||
if ((color == 15) || (searchColor != 15))
|
||||
|
Loading…
x
Reference in New Issue
Block a user