[Scummvm-cvs-logs] SF.net SVN: scummvm:[41586] scummvm/branches/gsoc2009-16bit/graphics/ pixelformat.h

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Tue Jun 16 19:52:32 CEST 2009


Revision: 41586
          http://scummvm.svn.sourceforge.net/scummvm/?rev=41586&view=rev
Author:   eriktorbjorn
Date:     2009-06-16 17:52:32 +0000 (Tue, 16 Jun 2009)

Log Message:
-----------
Fixed warning. (GCC doesn't like commas at the end of an enum list.)

Modified Paths:
--------------
    scummvm/branches/gsoc2009-16bit/graphics/pixelformat.h

Modified: scummvm/branches/gsoc2009-16bit/graphics/pixelformat.h
===================================================================
--- scummvm/branches/gsoc2009-16bit/graphics/pixelformat.h	2009-06-16 14:12:53 UTC (rev 41585)
+++ scummvm/branches/gsoc2009-16bit/graphics/pixelformat.h	2009-06-16 17:52:32 UTC (rev 41586)
@@ -44,7 +44,6 @@
  * to get the applicable color order.
   */
 enum ColorMode {
-	kFormatCLUT8 = 0,		//256 color palette.
 #ifdef ENABLE_16BIT
 	kFormatRGB555 = 1,
 	kFormatXRGB1555 = 2,	// Special case, high bit has special purpose, which may be alpha. 
@@ -54,8 +53,9 @@
 #endif
 #ifdef ENABLE_32BIT
 	kFormatRGB888 = 5,
-	kFormatRGBA8888 = 6
+	kFormatRGBA8888 = 6,
 #endif
+	kFormatCLUT8 = 0		//256 color palette.
 };
 #endif
 


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