[Scummvm-cvs-logs] SF.net SVN: scummvm:[42448] scummvm/branches/gsoc2009-draci/engines/draci/ animation.cpp
dkasak13 at users.sourceforge.net
dkasak13 at users.sourceforge.net
Mon Jul 13 21:11:24 CEST 2009
Revision: 42448
http://scummvm.svn.sourceforge.net/scummvm/?rev=42448&view=rev
Author: dkasak13
Date: 2009-07-13 19:11:24 +0000 (Mon, 13 Jul 2009)
Log Message:
-----------
Fixed bug in the NoScene logo room; the screen surface is now cleared between scene redraws (filled with the colour 0) to fix artifacts when animating the logo.
Modified Paths:
--------------
scummvm/branches/gsoc2009-draci/engines/draci/animation.cpp
Modified: scummvm/branches/gsoc2009-draci/engines/draci/animation.cpp
===================================================================
--- scummvm/branches/gsoc2009-draci/engines/draci/animation.cpp 2009-07-13 19:08:04 UTC (rev 42447)
+++ scummvm/branches/gsoc2009-draci/engines/draci/animation.cpp 2009-07-13 19:11:24 UTC (rev 42448)
@@ -208,7 +208,11 @@
}
void AnimationManager::drawScene(Surface *surf) {
-
+
+ // Fill the screen with colour zero since some rooms may rely on the screen being black
+ _vm->_screen->getSurface()->fill(0);
+
+
Common::List<Animation *>::iterator it;
for (it = _animations.begin(); it != _animations.end(); ++it) {
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