src/video/SDL_blit.h
changeset 5288 d4381f3b0d1e
parent 5262 b530ef003506
child 5389 24903690f48a
     1.1 --- a/src/video/SDL_blit.h	Sun Feb 13 01:31:07 2011 -0800
     1.2 +++ b/src/video/SDL_blit.h	Sun Feb 13 13:46:10 2011 -0800
     1.3 @@ -105,7 +105,7 @@
     1.4  
     1.5      /* the version count matches the destination; mismatch indicates
     1.6         an invalid mapping */
     1.7 -    unsigned int format_version;
     1.8 +    Uint32 palette_version;
     1.9  } SDL_BlitMap;
    1.10  
    1.11  /* Functions found in SDL_blit.c */
    1.12 @@ -129,10 +129,6 @@
    1.13  #define DECLARE_ALIGNED(t,v,a)  t v
    1.14  #endif
    1.15  
    1.16 -#define FORMAT_EQUAL(A, B)						\
    1.17 -    ((A)->BitsPerPixel == (B)->BitsPerPixel				\
    1.18 -     && ((A)->Rmask == (B)->Rmask) && ((A)->Amask == (B)->Amask))
    1.19 -
    1.20  /* Load pixel of the specified format from a buffer and get its R-G-B values */
    1.21  /* FIXME: rescale values to 0..255 here? */
    1.22  #define RGB_FROM_PIXEL(Pixel, fmt, r, g, b)				\