comparison 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
comparison
equal deleted inserted replaced
3176:8c12052ddc7b 3177:efe3b3971e4f
135 SDL_PIXELFORMAT_INDEX1MSB = 135 SDL_PIXELFORMAT_INDEX1MSB =
136 SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX1, SDL_BITMAPORDER_4321, 0, 136 SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX1, SDL_BITMAPORDER_4321, 0,
137 1, 0), 137 1, 0),
138 SDL_PIXELFORMAT_INDEX4LSB = 138 SDL_PIXELFORMAT_INDEX4LSB =
139 SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX4, SDL_BITMAPORDER_1234, 0, 139 SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX4, SDL_BITMAPORDER_1234, 0,
140 2, 0), 140 4, 0),
141 SDL_PIXELFORMAT_INDEX4MSB = 141 SDL_PIXELFORMAT_INDEX4MSB =
142 SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX4, SDL_BITMAPORDER_4321, 0, 142 SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX4, SDL_BITMAPORDER_4321, 0,
143 2, 0), 143 4, 0),
144 SDL_PIXELFORMAT_INDEX8 = 144 SDL_PIXELFORMAT_INDEX8 =
145 SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX8, 0, 0, 8, 1), 145 SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX8, 0, 0, 8, 1),
146 SDL_PIXELFORMAT_RGB332 = 146 SDL_PIXELFORMAT_RGB332 =
147 SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED8, SDL_PACKEDORDER_XRGB, 147 SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED8, SDL_PACKEDORDER_XRGB,
148 SDL_PACKEDLAYOUT_332, 8, 1), 148 SDL_PACKEDLAYOUT_332, 8, 1),