[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] r3012 - branches/pingus_sdl/src
From: |
nehalmistry |
Subject: |
[Pingus-CVS] r3012 - branches/pingus_sdl/src |
Date: |
Wed, 22 Aug 2007 19:35:39 +0200 |
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
);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] r3012 - branches/pingus_sdl/src,
nehalmistry <=