aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1
diff options
context:
space:
mode:
authorJohannes Schickel2009-02-15 21:20:21 +0000
committerJohannes Schickel2009-02-15 21:20:21 +0000
commit5417f6bacb73d5996b26229513c2ce01db27bf6a (patch)
treeec7298416ce8f3ca657b1637352763178752852c /engines/sword1
parente29d90be3e2213313c2884d80656198d8fed65ef (diff)
downloadscummvm-rg350-5417f6bacb73d5996b26229513c2ce01db27bf6a.tar.gz
scummvm-rg350-5417f6bacb73d5996b26229513c2ce01db27bf6a.tar.bz2
scummvm-rg350-5417f6bacb73d5996b26229513c2ce01db27bf6a.zip
- Replace OSystem::clearScreen with OSystem::fillScreen as discussed on -devel.
- Update BaseBackend and DC port to properly implement OSystem::fillScreen (now only PalmOS has to be updated). - Update all client code which relied on OSystem::clearScreen so far. svn-id: r38304
Diffstat (limited to 'engines/sword1')
-rw-r--r--engines/sword1/screen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword1/screen.cpp b/engines/sword1/screen.cpp
index eabe1efdd6..d7498ade31 100644
--- a/engines/sword1/screen.cpp
+++ b/engines/sword1/screen.cpp
@@ -70,7 +70,7 @@ void Screen::clearScreen(void) {
if (_screenBuf) {
_fullRefresh = true;
memset(_screenBuf, 0, _scrnSizeX * _scrnSizeY);
- _system->clearScreen();
+ _system->fillScreen(0);
}
}