Mercurial > sdl-ios-xcode
comparison include/SDL_pixels.h @ 2257:340942cfda48
Moved the colorkey and per-surface alpha into the blit info,
in preparation for support for general color channel modulation.
Removed and consolidated some data in the blit info.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 17 Aug 2007 00:54:53 +0000 |
parents | b03710fb0333 |
children | 12ea0fdc0df2 |
comparison
equal
deleted
inserted
replaced
2256:e893d24ad8db | 2257:340942cfda48 |
---|---|
235 Uint8 Ashift; | 235 Uint8 Ashift; |
236 Uint32 Rmask; | 236 Uint32 Rmask; |
237 Uint32 Gmask; | 237 Uint32 Gmask; |
238 Uint32 Bmask; | 238 Uint32 Bmask; |
239 Uint32 Amask; | 239 Uint32 Amask; |
240 | |
241 /* RGB color key information */ | |
242 Uint32 colorkey; | |
243 /* Alpha value information (per-surface alpha) */ | |
244 Uint8 alpha; | |
245 } SDL_PixelFormat; | 240 } SDL_PixelFormat; |
246 | 241 |
247 /** | 242 /** |
248 * \fn SDL_bool SDL_PixelFormatEnumToMasks(Uint32 format, int *bpp, Uint32 * Rmask, Uint32 * Gmask, Uint32 * Bmask, Uint32 * Amask) | 243 * \fn SDL_bool SDL_PixelFormatEnumToMasks(Uint32 format, int *bpp, Uint32 * Rmask, Uint32 * Gmask, Uint32 * Bmask, Uint32 * Amask) |
249 * | 244 * |