src/video/SDL_blit_slow.c
changeset 3588 c5fe76962106
parent 2859 99210400e8b9
child 3697 f7b03b6838cb
     1.1 --- a/src/video/SDL_blit_slow.c	Thu Dec 17 04:01:29 2009 +0000
     1.2 +++ b/src/video/SDL_blit_slow.c	Thu Dec 17 05:57:37 2009 +0000
     1.3 @@ -81,7 +81,7 @@
     1.4              }
     1.5              if (flags & SDL_COPY_COLORKEY) {
     1.6                  /* srcpixel isn't set for 24 bpp */
     1.7 -                if (srcbpp == 24) {
     1.8 +                if (srcbpp == 3) {
     1.9                      srcpixel = (srcR << src_fmt->Rshift) |
    1.10                          (srcG << src_fmt->Gshift) | (srcB << src_fmt->Bshift);
    1.11                  }