include/SDL_pixels.h
branchSDL-1.3
changeset 1676 e136f3ffdc1b
parent 1675 d33dcfc3fde7
child 1681 80a5e6a4e1e2
     1.1 --- a/include/SDL_pixels.h	Sun Jun 11 07:30:16 2006 +0000
     1.2 +++ b/include/SDL_pixels.h	Mon Jun 12 09:10:06 2006 +0000
     1.3 @@ -108,6 +108,8 @@
     1.4  #define SDL_BITSPERPIXEL(X)	(((X) >> 8) & 0xFF)
     1.5  #define SDL_BYTESPERPIXEL(X)	(((X) >> 0) & 0xFF)
     1.6  
     1.7 +#define SDL_ISPIXELFORMAT_FOURCC(format)    (((format) & 0x8000000) != 0)
     1.8 +
     1.9  enum
    1.10  {
    1.11      SDL_PixelFormat_Unknown,