Mercurial > sdl-ios-xcode
diff include/SDL_pixels.h @ 3177:efe3b3971e4f
Fixed 4 bit-per-pixel definition. Thanks Mike!
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 09 Jun 2009 04:34:50 +0000 |
parents | a252014ce27d |
children | d3baf5ac4e37 |
line wrap: on
line diff
--- a/include/SDL_pixels.h Tue Jun 09 03:27:48 2009 +0000 +++ b/include/SDL_pixels.h Tue Jun 09 04:34:50 2009 +0000 @@ -137,10 +137,10 @@ 1, 0), SDL_PIXELFORMAT_INDEX4LSB = SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX4, SDL_BITMAPORDER_1234, 0, - 2, 0), + 4, 0), SDL_PIXELFORMAT_INDEX4MSB = SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX4, SDL_BITMAPORDER_4321, 0, - 2, 0), + 4, 0), SDL_PIXELFORMAT_INDEX8 = SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX8, 0, 0, 8, 1), SDL_PIXELFORMAT_RGB332 =