src/video/SDL_blit_A.c
changeset 2853 6258fa7cd300
parent 2735 204be4fc2726
child 2859 99210400e8b9
     1.1 --- a/src/video/SDL_blit_A.c	Sun Dec 07 22:29:58 2008 +0000
     1.2 +++ b/src/video/SDL_blit_A.c	Sun Dec 07 22:37:40 2008 +0000
     1.3 @@ -2153,7 +2153,7 @@
     1.4      SDL_PixelFormat *sf = surface->format;
     1.5      SDL_PixelFormat *df = surface->map->dst->format;
     1.6  
     1.7 -    switch (surface->map->info.flags) {
     1.8 +    switch (surface->map->info.flags & ~SDL_COPY_RLE_MASK) {
     1.9      case SDL_COPY_BLEND:
    1.10          /* Per-pixel alpha blits */
    1.11          switch (df->BytesPerPixel) {