include/SDL_pixels.h
changeset 5264 7ace5f8f432f
parent 5262 b530ef003506
child 5288 d4381f3b0d1e
     1.1 --- a/include/SDL_pixels.h	Fri Feb 11 23:02:35 2011 -0800
     1.2 +++ b/include/SDL_pixels.h	Sat Feb 12 00:25:02 2011 -0800
     1.3 @@ -124,9 +124,7 @@
     1.4  #define SDL_BITSPERPIXEL(X)	(((X) >> 8) & 0xFF)
     1.5  #define SDL_BYTESPERPIXEL(X) \
     1.6      (SDL_ISPIXELFORMAT_FOURCC(X) ? \
     1.7 -        ((((X) == SDL_PIXELFORMAT_YV12) || \
     1.8 -          ((X) == SDL_PIXELFORMAT_IYUV) || \
     1.9 -          ((X) == SDL_PIXELFORMAT_YUY2) || \
    1.10 +        ((((X) == SDL_PIXELFORMAT_YUY2) || \
    1.11            ((X) == SDL_PIXELFORMAT_UYVY) || \
    1.12            ((X) == SDL_PIXELFORMAT_YVYU)) ? 2 : 1) : (((X) >> 0) & 0xFF))
    1.13