From 6e403b38bad648cd52eeb5a1f0b71d75ab4256a7 Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Thu, 20 Jan 2011 10:21:27 +0000 Subject: GOB: Reverse-blit the final frame of a live video Fixes some glitches at the end of live videos svn-id: r55347 --- engines/gob/videoplayer.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/gob/videoplayer.cpp') diff --git a/engines/gob/videoplayer.cpp b/engines/gob/videoplayer.cpp index 6b6bc570da..c89f598d10 100644 --- a/engines/gob/videoplayer.cpp +++ b/engines/gob/videoplayer.cpp @@ -305,6 +305,8 @@ void VideoPlayer::updateLive(bool force) { // Video ended WRITE_VAR_OFFSET(212, (uint32)-1); + if (video->surface == _vm->_draw->_frontSurface) + _vm->_draw->forceBlit(true); _vm->_vidPlayer->closeVideo(); return; } -- cgit v1.2.3