Fixed 4 bit-per-pixel definition. Thanks Mike!
authorSam Lantinga <slouken@libsdl.org>
Tue, 09 Jun 2009 04:34:50 +0000
changeset 3177efe3b3971e4f
parent 3176 8c12052ddc7b
child 3178 72edc980789b
Fixed 4 bit-per-pixel definition. Thanks Mike!
include/SDL_pixels.h
     1.1 --- a/include/SDL_pixels.h	Tue Jun 09 03:27:48 2009 +0000
     1.2 +++ b/include/SDL_pixels.h	Tue Jun 09 04:34:50 2009 +0000
     1.3 @@ -137,10 +137,10 @@
     1.4                                 1, 0),
     1.5      SDL_PIXELFORMAT_INDEX4LSB =
     1.6          SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX4, SDL_BITMAPORDER_1234, 0,
     1.7 -                               2, 0),
     1.8 +                               4, 0),
     1.9      SDL_PIXELFORMAT_INDEX4MSB =
    1.10          SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX4, SDL_BITMAPORDER_4321, 0,
    1.11 -                               2, 0),
    1.12 +                               4, 0),
    1.13      SDL_PIXELFORMAT_INDEX8 =
    1.14          SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX8, 0, 0, 8, 1),
    1.15      SDL_PIXELFORMAT_RGB332 =