comparison include/SDL_pixels.h @ 1682:7ae8018b2e5d SDL-1.3

Default palette entries to white, instead of black. More palettized video mode support...
author Sam Lantinga <slouken@libsdl.org>
date Fri, 16 Jun 2006 06:00:31 +0000
parents 80a5e6a4e1e2
children 396a35389351
comparison
equal deleted inserted replaced
1681:80a5e6a4e1e2 1682:7ae8018b2e5d
112 ((SDL_PIXELTYPE(format) == SDL_PixelType_Index1) || \ 112 ((SDL_PIXELTYPE(format) == SDL_PixelType_Index1) || \
113 (SDL_PIXELTYPE(format) == SDL_PixelType_Index4) || \ 113 (SDL_PIXELTYPE(format) == SDL_PixelType_Index4) || \
114 (SDL_PIXELTYPE(format) == SDL_PixelType_Index8)) 114 (SDL_PIXELTYPE(format) == SDL_PixelType_Index8))
115 115
116 #define SDL_ISPIXELFORMAT_FOURCC(format) \ 116 #define SDL_ISPIXELFORMAT_FOURCC(format) \
117 ((format) && !((format) & 0x8000000)) 117 ((format) && !((format) & 0x80000000))
118 118
119 enum 119 enum
120 { 120 {
121 SDL_PixelFormat_Unknown, 121 SDL_PixelFormat_Unknown,
122 SDL_PixelFormat_Index1LSB = 122 SDL_PixelFormat_Index1LSB =