src/video/SDL_blit_N.c
changeset 1985 8055185ae4ed
parent 1895 c121d94672cb
child 2247 93994f65c74c
     1.1 --- a/src/video/SDL_blit_N.c	Thu Aug 24 12:49:59 2006 +0000
     1.2 +++ b/src/video/SDL_blit_N.c	Mon Aug 28 03:17:39 2006 +0000
     1.3 @@ -2108,7 +2108,7 @@
     1.4  		/* *INDENT-OFF* */
     1.5  		DUFFS_LOOP(
     1.6  		{
     1.7 -		        Uint32 Pixel;
     1.8 +            Uint32 Pixel;
     1.9  			unsigned sR;
    1.10  			unsigned sG;
    1.11  			unsigned sB;
    1.12 @@ -2278,15 +2278,14 @@
    1.13  		/* *INDENT-OFF* */
    1.14  		DUFFS_LOOP(
    1.15  		{
    1.16 -		        Uint32 Pixel;
    1.17 +            Uint32 Pixel;
    1.18  			unsigned sR;
    1.19  			unsigned sG;
    1.20  			unsigned sB;
    1.21  			RETRIEVE_RGB_PIXEL(src, srcbpp, Pixel);
    1.22  			if ( (Pixel & rgbmask) != ckey ) {
    1.23 -			        RGB_FROM_PIXEL(Pixel, srcfmt, sR, sG, sB);
    1.24 -				ASSEMBLE_RGBA(dst, dstbpp, dstfmt,
    1.25 -					      sR, sG, sB, alpha);
    1.26 +                RGB_FROM_PIXEL(Pixel, srcfmt, sR, sG, sB);
    1.27 +				ASSEMBLE_RGBA(dst, dstbpp, dstfmt, sR, sG, sB, alpha);
    1.28  			}
    1.29  			dst += dstbpp;
    1.30  			src += srcbpp;
    1.31 @@ -2327,11 +2326,9 @@
    1.32  		/* *INDENT-OFF* */
    1.33  		DUFFS_LOOP(
    1.34  		{
    1.35 -			DISEMBLE_RGBA(src, srcbpp, srcfmt, Pixel,
    1.36 -				      sR, sG, sB, sA);
    1.37 +			DISEMBLE_RGBA(src, srcbpp, srcfmt, Pixel, sR, sG, sB, sA);
    1.38  			if ( (Pixel & rgbmask) != ckey ) {
    1.39 -				  ASSEMBLE_RGBA(dst, dstbpp, dstfmt,
    1.40 -						sR, sG, sB, sA);
    1.41 +				  ASSEMBLE_RGBA(dst, dstbpp, dstfmt, sR, sG, sB, sA);
    1.42  			}
    1.43  			dst += dstbpp;
    1.44  			src += srcbpp;