src/video/SDL_blit_A.c
changeset 2291 dc3dd3a0bf02
parent 2267 c785543d1843
child 2698 e1da92da346c
     1.1 --- a/src/video/SDL_blit_A.c	Sat Dec 29 22:13:47 2007 +0000
     1.2 +++ b/src/video/SDL_blit_A.c	Sat Dec 29 22:15:39 2007 +0000
     1.3 @@ -755,7 +755,7 @@
     1.4      vsdstPermute = calc_swizzle32(dstfmt, NULL);
     1.5  
     1.6      /* set a vector full of alpha and 255-alpha */
     1.7 -    ((unsigned char *) &valpha)[0] = alpha;
     1.8 +    ((unsigned char *) &valpha)[0] = sA;
     1.9      valpha = vec_splat(valpha, 0);
    1.10      vbits = (vector unsigned char) vec_splat_s8(-1);
    1.11  
    1.12 @@ -1071,7 +1071,7 @@
    1.13      vsdstPermute = calc_swizzle32(dstfmt, NULL);
    1.14  
    1.15      /* set a vector full of alpha and 255-alpha */
    1.16 -    ((unsigned char *) &valpha)[0] = alpha;
    1.17 +    ((unsigned char *) &valpha)[0] = sA;
    1.18      valpha = vec_splat(valpha, 0);
    1.19      vbits = (vector unsigned char) vec_splat_s8(-1);
    1.20