[Scummvm-cvs-logs] SF.net SVN: scummvm:[45481] scummvm/trunk/engines/sci/gui
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Wed Oct 28 20:28:44 CET 2009
Revision: 45481
http://scummvm.svn.sourceforge.net/scummvm/?rev=45481&view=rev
Author: m_kiewitz
Date: 2009-10-28 19:28:43 +0000 (Wed, 28 Oct 2009)
Log Message:
-----------
SCI/newgui: fill screen with white instead of black before picture drawing, fixes some pixels of some screens
Modified Paths:
--------------
scummvm/trunk/engines/sci/gui/gui_gfx.cpp
scummvm/trunk/engines/sci/gui/gui_picture.cpp
Modified: scummvm/trunk/engines/sci/gui/gui_gfx.cpp
===================================================================
--- scummvm/trunk/engines/sci/gui/gui_gfx.cpp 2009-10-28 19:19:35 UTC (rev 45480)
+++ scummvm/trunk/engines/sci/gui/gui_gfx.cpp 2009-10-28 19:28:43 UTC (rev 45481)
@@ -303,7 +303,7 @@
// do we add to a picture? if not -> clear screen
if (!addToFlag) {
if (_s->resMan->isVGA())
- ClearScreen(0);
+ ClearScreen(255);
else
ClearScreen(15);
}
Modified: scummvm/trunk/engines/sci/gui/gui_picture.cpp
===================================================================
--- scummvm/trunk/engines/sci/gui/gui_picture.cpp 2009-10-28 19:19:35 UTC (rev 45480)
+++ scummvm/trunk/engines/sci/gui/gui_picture.cpp 2009-10-28 19:28:43 UTC (rev 45481)
@@ -605,7 +605,7 @@
// 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))
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list