include/SDL_pixels.h
changeset 4492 bff93336121e
parent 3697 f7b03b6838cb
child 4982 660d3a432102
     1.1 --- a/include/SDL_pixels.h	Wed Jul 07 21:35:44 2010 -0700
     1.2 +++ b/include/SDL_pixels.h	Wed Jul 07 21:36:09 2010 -0700
     1.3 @@ -112,8 +112,7 @@
     1.4      SDL_PACKEDLAYOUT_1010102
     1.5  };
     1.6  
     1.7 -#define SDL_DEFINE_PIXELFOURCC(A, B, C, D) \
     1.8 -    ((A) | ((B) << 8) | ((C) << 16) | ((D) << 24))
     1.9 +#define SDL_DEFINE_PIXELFOURCC(A, B, C, D) SDL_FOURCC(A, B, C, D)
    1.10  
    1.11  #define SDL_DEFINE_PIXELFORMAT(type, order, layout, bits, bytes) \
    1.12      ((1 << 31) | ((type) << 24) | ((order) << 20) | ((layout) << 16) | \