From 2e1fa58cf8907e344119391b830db8f6e1e1c1fa Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Wed, 7 Jan 2009 21:57:05 +0000 Subject: Clear the screen to black before showing a video with playVideo() (it's meant to play full screen videos) svn-id: r35776 --- graphics/video/video_player.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'graphics/video') diff --git a/graphics/video/video_player.cpp b/graphics/video/video_player.cpp index f3d2f58ed1..6bf7a5e39d 100644 --- a/graphics/video/video_player.cpp +++ b/graphics/video/video_player.cpp @@ -177,6 +177,8 @@ bool VideoPlayer::playVideo(const char *filename, Common::List *s return false; } + g_system->clearScreen(); + while (getCurFrame() < getFrameCount() && !_skipVideo) { processVideoEvents(stopEvents); -- cgit v1.2.3