Author: nehalmistry
Date: 2007-08-22 19:35:36 +0200 (Wed, 22 Aug 2007)
New Revision: 3012

Modified:
   branches/pingus_sdl/src/blitter.cpp
Log:
fix creation of 24-bit surface

Modified: branches/pingus_sdl/src/blitter.cpp
===================================================================
--- branches/pingus_sdl/src/blitter.cpp 2007-08-22 14:40:04 UTC (rev 3011)
+++ branches/pingus_sdl/src/blitter.cpp 2007-08-22 17:35:36 UTC (rev 3012)
@@ -231,9 +231,9 @@
 {
   return SDL_CreateRGBSurface(SDL_SWSURFACE, w, h, 24,
 #if SDL_BYTEORDER == SDL_BIG_ENDIAN
-                              0xff000000, 0x00ff0000, 0x0000ff00, 0x00000000
+                              0xff0000, 0x00ff00, 0x0000ff, 0x000000
 #else
-                              0x000000ff, 0x0000ff00, 0x00ff0000, 0x00000000
+                              0x0000ff, 0x00ff00, 0xff0000, 0x000000
 #endif
                               );
 }



_______________________________________________
pingus-cvs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/pingus-cvs

Reply via email to