# HG changeset patch # User Sam Lantinga # Date 1198966539 0 # Node ID dc3dd3a0bf02a2d37efab10e3140b09434948194 # Parent 323a5af2924b4c39a51e4d50a130f6875dcf71b7 Christian Walther fixed bug #529 diff -r 323a5af2924b -r dc3dd3a0bf02 src/video/SDL_blit_A.c --- a/src/video/SDL_blit_A.c Sat Dec 29 22:13:47 2007 +0000 +++ b/src/video/SDL_blit_A.c Sat Dec 29 22:15:39 2007 +0000 @@ -755,7 +755,7 @@ vsdstPermute = calc_swizzle32(dstfmt, NULL); /* set a vector full of alpha and 255-alpha */ - ((unsigned char *) &valpha)[0] = alpha; + ((unsigned char *) &valpha)[0] = sA; valpha = vec_splat(valpha, 0); vbits = (vector unsigned char) vec_splat_s8(-1); @@ -1071,7 +1071,7 @@ vsdstPermute = calc_swizzle32(dstfmt, NULL); /* set a vector full of alpha and 255-alpha */ - ((unsigned char *) &valpha)[0] = alpha; + ((unsigned char *) &valpha)[0] = sA; valpha = vec_splat(valpha, 0); vbits = (vector unsigned char) vec_splat_s8(-1);