Fixed 4 bit-per-pixel definition. Thanks Mike!
authorSam Lantinga <slouken@libsdl.org>
Tue, 09 Jun 2009 04:34:50 +0000
changeset 3177 efe3b3971e4f
parent 3176 8c12052ddc7b
child 3178 72edc980789b
Fixed 4 bit-per-pixel definition. Thanks Mike!
include/SDL_pixels.h
--- 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 =