[Scummvm-cvs-logs] SF.net SVN: scummvm: [29892] scummvm/trunk/engines/lure/game.cpp

dreammaster at users.sourceforge.net dreammaster at users.sourceforge.net
Mon Dec 17 04:29:03 CET 2007


Revision: 29892
          http://scummvm.svn.sourceforge.net/scummvm/?rev=29892&view=rev
Author:   dreammaster
Date:     2007-12-16 19:29:02 -0800 (Sun, 16 Dec 2007)

Log Message:
-----------
Changed Credits display to avoid the brief flash as the palette changed

Modified Paths:
--------------
    scummvm/trunk/engines/lure/game.cpp

Modified: scummvm/trunk/engines/lure/game.cpp
===================================================================
--- scummvm/trunk/engines/lure/game.cpp	2007-12-16 22:41:51 UTC (rev 29891)
+++ scummvm/trunk/engines/lure/game.cpp	2007-12-17 03:29:02 UTC (rev 29892)
@@ -864,8 +864,9 @@
 	mouse.cursorOff();
 	Palette p(CREDITS_RESOURCE_ID - 1);
 	Surface *s = Surface::getScreen(CREDITS_RESOURCE_ID);
+	screen.setPaletteEmpty();
+	s->copyToScreen(0, 0);
 	screen.setPalette(&p);	
-	s->copyToScreen(0, 0);
 	delete s;
 
 	events.waitForPress();


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