src/video/SDL_blit.h
changeset 2257 340942cfda48
parent 2251 292bee385630
child 2260 202ddfd1cfb1
     1.1 --- a/src/video/SDL_blit.h	Thu Aug 16 22:56:18 2007 +0000
     1.2 +++ b/src/video/SDL_blit.h	Fri Aug 17 00:54:53 2007 +0000
     1.3 @@ -45,30 +45,25 @@
     1.4      int d_width;
     1.5      int d_height;
     1.6      int d_skip;
     1.7 -    void *aux_data;
     1.8      SDL_PixelFormat *src;
     1.9      Uint8 *table;
    1.10      SDL_PixelFormat *dst;
    1.11 +    Uint32 ckey, cmod;
    1.12  } SDL_BlitInfo;
    1.13  
    1.14  /* The type definition for the low level blit functions */
    1.15  typedef void (*SDL_loblit) (SDL_BlitInfo * info);
    1.16  
    1.17 -/* This is the private info structure for software accelerated blits */
    1.18 -struct private_swaccel
    1.19 -{
    1.20 -    SDL_loblit blit;
    1.21 -    void *aux_data;
    1.22 -};
    1.23 -
    1.24  /* Blit mapping definition */
    1.25  typedef struct SDL_BlitMap
    1.26  {
    1.27      SDL_Surface *dst;
    1.28      int identity;
    1.29      Uint8 *table;
    1.30 -    SDL_blit sw_blit;
    1.31 -    struct private_swaccel *sw_data;
    1.32 +    SDL_blit blit;
    1.33 +    void *data;
    1.34 +    Uint32 ckey;    /* colorkey */
    1.35 +    Uint32 cmod;    /* ARGB modulation */
    1.36  
    1.37      /* the version count matches the destination; mismatch indicates
    1.38         an invalid mapping */