Mercurial > sdl-ios-xcode
changeset 2291:dc3dd3a0bf02
Christian Walther fixed bug #529
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 29 Dec 2007 22:15:39 +0000 |
parents | 323a5af2924b |
children | 4845eb8d4221 |
files | src/video/SDL_blit_A.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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);