changeset 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 8c12052ddc7b
children 72edc980789b
files include/SDL_pixels.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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 =