aboutsummaryrefslogtreecommitdiff
path: root/graphics/video/video_player.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2009-02-15 21:20:21 +0000
committerJohannes Schickel2009-02-15 21:20:21 +0000
commit5417f6bacb73d5996b26229513c2ce01db27bf6a (patch)
treeec7298416ce8f3ca657b1637352763178752852c /graphics/video/video_player.cpp
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 'graphics/video/video_player.cpp')
-rw-r--r--graphics/video/video_player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/video/video_player.cpp b/graphics/video/video_player.cpp
index 1b483a7c34..817a9117dc 100644
--- a/graphics/video/video_player.cpp
+++ b/graphics/video/video_player.cpp
@@ -187,7 +187,7 @@ bool VideoPlayer::playVideo(Common::List<Common::Event> *stopEvents) {
_skipVideo = false;
debug(0, "Playing video");
- g_system->clearScreen();
+ g_system->fillScreen(0);
int frameX = (g_system->getWidth() - _decoder->getWidth()) / 2;
int frameY = (g_system->getHeight() - _decoder->getHeight()) / 2;