[Scummvm-cvs-logs] SF.net SVN: scummvm:[42345] scummvm/trunk/engines/sci/gfx/gfx_resmgr.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Fri Jul 10 20:53:40 CEST 2009


Revision: 42345
          http://scummvm.svn.sourceforge.net/scummvm/?rev=42345&view=rev
Author:   thebluegr
Date:     2009-07-10 18:53:40 +0000 (Fri, 10 Jul 2009)

Log Message:
-----------
Applied patch #2819665 - "SCI: cell palette fix for QfG3/SQ5/etc."

Modified Paths:
--------------
    scummvm/trunk/engines/sci/gfx/gfx_resmgr.cpp

Modified: scummvm/trunk/engines/sci/gfx/gfx_resmgr.cpp
===================================================================
--- scummvm/trunk/engines/sci/gfx/gfx_resmgr.cpp	2009-07-10 16:14:23 UTC (rev 42344)
+++ scummvm/trunk/engines/sci/gfx/gfx_resmgr.cpp	2009-07-10 18:53:40 UTC (rev 42345)
@@ -600,6 +600,8 @@
 	}
 
 	if (!cel_data->data) {
+		if (!cel_data->palette)
+			cel_data->palette = view->palette->getref();
 #ifdef CUSTOM_GRAPHICS_OPTIONS
 		gfx_get_res_config(_options, cel_data);
 		gfx_xlate_pixmap(cel_data, _driver->getMode(), _options->view_xlate_filter);


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