[Scummvm-cvs-logs] SF.net SVN: scummvm:[53274] scummvm/trunk/engines/sword25/sword25.cpp

sev at users.sourceforge.net sev at users.sourceforge.net
Wed Oct 13 01:12:21 CEST 2010


Revision: 53274
          http://scummvm.svn.sourceforge.net/scummvm/?rev=53274&view=rev
Author:   sev
Date:     2010-10-12 23:12:20 +0000 (Tue, 12 Oct 2010)

Log Message:
-----------
SWORD25: Fix colors

Modified Paths:
--------------
    scummvm/trunk/engines/sword25/sword25.cpp

Modified: scummvm/trunk/engines/sword25/sword25.cpp
===================================================================
--- scummvm/trunk/engines/sword25/sword25.cpp	2010-10-12 23:12:03 UTC (rev 53273)
+++ scummvm/trunk/engines/sword25/sword25.cpp	2010-10-12 23:12:20 UTC (rev 53274)
@@ -85,8 +85,8 @@
 	// All log messages will be sent to StdOut
 	BS_Log::RegisterLogListener(LogToStdout);
 
-	// Initialise the graphics mode to RGBA8888
-	Graphics::PixelFormat format = Graphics::PixelFormat(4, 8, 8, 8, 8, 24, 16, 8, 0);
+	// Initialise the graphics mode to ARGB8888
+	Graphics::PixelFormat format = Graphics::PixelFormat(4, 8, 8, 8, 8, 0, 8, 16, 24);
 	initGraphics(800, 600, true, &format);
 	if (format != g_system->getScreenFormat())
 		return Common::kUnsupportedColorMode;


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