diff options
author | Johannes Schickel | 2009-02-15 21:20:21 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-02-15 21:20:21 +0000 |
commit | 5417f6bacb73d5996b26229513c2ce01db27bf6a (patch) | |
tree | ec7298416ce8f3ca657b1637352763178752852c /engines/tinsel/graphics.cpp | |
parent | e29d90be3e2213313c2884d80656198d8fed65ef (diff) | |
download | scummvm-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/tinsel/graphics.cpp')
-rw-r--r-- | engines/tinsel/graphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tinsel/graphics.cpp b/engines/tinsel/graphics.cpp index 4209d1fe33..4af2f0067a 100644 --- a/engines/tinsel/graphics.cpp +++ b/engines/tinsel/graphics.cpp @@ -493,7 +493,7 @@ static void PackedWrtNonZero(DRAWOBJECT *pObj, uint8 *srcP, uint8 *destP, void ClearScreen() { void *pDest = _vm->screen().getBasePtr(0, 0); memset(pDest, 0, SCREEN_WIDTH * SCREEN_HEIGHT); - g_system->clearScreen(); + g_system->fillScreen(0); g_system->updateScreen(); } |