[Scummvm-cvs-logs] SF.net SVN: scummvm:[35776] scummvm/trunk/graphics/video/video_player.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Wed Jan 7 22:57:05 CET 2009


Revision: 35776
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35776&view=rev
Author:   thebluegr
Date:     2009-01-07 21:57:05 +0000 (Wed, 07 Jan 2009)

Log Message:
-----------
Clear the screen to black before showing a video with playVideo() (it's meant to play full screen videos)

Modified Paths:
--------------
    scummvm/trunk/graphics/video/video_player.cpp

Modified: scummvm/trunk/graphics/video/video_player.cpp
===================================================================
--- scummvm/trunk/graphics/video/video_player.cpp	2009-01-07 21:45:21 UTC (rev 35775)
+++ scummvm/trunk/graphics/video/video_player.cpp	2009-01-07 21:57:05 UTC (rev 35776)
@@ -177,6 +177,8 @@
 		return false;
 	}
 
+	g_system->clearScreen();
+
 	while (getCurFrame() < getFrameCount() && !_skipVideo) {
 		processVideoEvents(stopEvents);
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list