Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Christian Walther fixed bug #529
- Loading branch information
Showing
with
2 additions
and
2 deletions.
-
+2
−2
src/video/SDL_blit_A.c
|
@@ -755,7 +755,7 @@ Blit32to32SurfaceAlphaKeyAltivec(SDL_BlitInfo * info) |
|
|
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 @@ Blit32to32SurfaceAlphaAltivec(SDL_BlitInfo * info) |
|
|
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); |
|
|
|
|
|