src/video/SDL_blit_A.c
changeset 3363 90aec03bf9fd
parent 3035 ff602fdfdedc
child 3430 baeff5f3203b
     1.1 --- a/src/video/SDL_blit_A.c	Sat Oct 10 07:34:15 2009 +0000
     1.2 +++ b/src/video/SDL_blit_A.c	Sat Oct 10 07:48:57 2009 +0000
     1.3 @@ -629,7 +629,7 @@
     1.4                  dR = (dstpixel >> 8) & 0xf8; \
     1.5                  dG = (dstpixel >> 3) & 0xfc; \
     1.6                  dB = (dstpixel << 3) & 0xf8; \
     1.7 -                ACCURATE_ALPHA_BLEND(sR, sG, sB, sA, dR, dG, dB); \
     1.8 +                ALPHA_BLEND(sR, sG, sB, sA, dR, dG, dB); \
     1.9                  *((unsigned short *)dst) = ( \
    1.10                      ((dR & 0xf8) << 8) | ((dG & 0xfc) << 3) | (dB >> 3) \
    1.11                  ); \
    1.12 @@ -775,7 +775,7 @@
    1.13              if(sA && Pixel != ckey) { \
    1.14                  RGB_FROM_PIXEL(Pixel, srcfmt, sR, sG, sB); \
    1.15                  DISEMBLE_RGB(((Uint8 *)dstp), 4, dstfmt, Pixel, dR, dG, dB); \
    1.16 -                ACCURATE_ALPHA_BLEND(sR, sG, sB, sA, dR, dG, dB); \
    1.17 +                ALPHA_BLEND(sR, sG, sB, sA, dR, dG, dB); \
    1.18                  ASSEMBLE_RGBA(((Uint8 *)dstp), 4, dstfmt, dR, dG, dB, dA); \
    1.19              } \
    1.20              dstp++; \
    1.21 @@ -882,7 +882,7 @@
    1.22              DISEMBLE_RGBA((Uint8 *)srcp, 4, srcfmt, Pixel, sR, sG, sB, sA); \
    1.23              if(sA) { \
    1.24                DISEMBLE_RGBA((Uint8 *)dstp, 4, dstfmt, Pixel, dR, dG, dB, dA); \
    1.25 -              ACCURATE_ALPHA_BLEND(sR, sG, sB, sA, dR, dG, dB); \
    1.26 +              ALPHA_BLEND(sR, sG, sB, sA, dR, dG, dB); \
    1.27                ASSEMBLE_RGBA((Uint8 *)dstp, 4, dstfmt, dR, dG, dB, dA); \
    1.28              } \
    1.29              ++srcp; \
    1.30 @@ -1082,7 +1082,7 @@
    1.31              unsigned sR, sG, sB, dR, dG, dB; \
    1.32              DISEMBLE_RGB(((Uint8 *)srcp), 4, srcfmt, Pixel, sR, sG, sB); \
    1.33              DISEMBLE_RGB(((Uint8 *)dstp), 4, dstfmt, Pixel, dR, dG, dB); \
    1.34 -            ACCURATE_ALPHA_BLEND(sR, sG, sB, sA, dR, dG, dB); \
    1.35 +            ALPHA_BLEND(sR, sG, sB, sA, dR, dG, dB); \
    1.36              ASSEMBLE_RGBA(((Uint8 *)dstp), 4, dstfmt, dR, dG, dB, dA); \
    1.37              ++srcp; \
    1.38              ++dstp; \