include/SDL_pixels.h
branchSDL-1.3
changeset 1676 e136f3ffdc1b
parent 1675 d33dcfc3fde7
child 1681 80a5e6a4e1e2
--- 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,