Mercurial > sdl-ios-xcode
diff include/SDL_pixels.h @ 1676:e136f3ffdc1b SDL-1.3
Adding software renderer implementation
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 12 Jun 2006 09:10:06 +0000 |
parents | d33dcfc3fde7 |
children | 80a5e6a4e1e2 |
line wrap: on
line diff
--- a/include/SDL_pixels.h Sun Jun 11 07:30:16 2006 +0000 +++ b/include/SDL_pixels.h Mon Jun 12 09:10:06 2006 +0000 @@ -108,6 +108,8 @@ #define SDL_BITSPERPIXEL(X) (((X) >> 8) & 0xFF) #define SDL_BYTESPERPIXEL(X) (((X) >> 0) & 0xFF) +#define SDL_ISPIXELFORMAT_FOURCC(format) (((format) & 0x8000000) != 0) + enum { SDL_PixelFormat_Unknown,