diff options
author | Martin Kiewitz | 2009-10-29 14:16:20 +0000 |
---|---|---|
committer | Martin Kiewitz | 2009-10-29 14:16:20 +0000 |
commit | 8178d548eb2e822cfc7a9c21fa7c569f5b695398 (patch) | |
tree | bce90c6de9cfcedfd5dc85f228945ce0539c078c /engines/sci/gui/gui_gfx.cpp | |
parent | e5e80dd6d692b0b352913198a1bb5aa91da4402e (diff) | |
download | scummvm-rg350-8178d548eb2e822cfc7a9c21fa7c569f5b695398.tar.gz scummvm-rg350-8178d548eb2e822cfc7a9c21fa7c569f5b695398.tar.bz2 scummvm-rg350-8178d548eb2e822cfc7a9c21fa7c569f5b695398.zip |
SCI/newgui: Defining color white and others in SciGuiScreen and using that. Also clears screen with 0 on sci1.1 games (needs further investigation), fixes pictures
svn-id: r45500
Diffstat (limited to 'engines/sci/gui/gui_gfx.cpp')
-rw-r--r-- | engines/sci/gui/gui_gfx.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/sci/gui/gui_gfx.cpp b/engines/sci/gui/gui_gfx.cpp index e44a44a819..0a3a36ce33 100644 --- a/engines/sci/gui/gui_gfx.cpp +++ b/engines/sci/gui/gui_gfx.cpp @@ -302,10 +302,7 @@ void SciGuiGfx::drawPicture(GuiResourceId pictureId, int16 animationNr, bool mir picture = new SciGuiPicture(_s->resMan, this, _screen, _palette, pictureId); // do we add to a picture? if not -> clear screen if (!addToFlag) { - if (_s->resMan->isVGA()) - ClearScreen(255); - else - ClearScreen(15); + ClearScreen(_screen->_colorClearScreen); } picture->draw(animationNr, mirroredFlag, addToFlag, paletteId); } |