Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Christian Walther fixed bug #529

  • Loading branch information
slouken committed Dec 29, 2007
1 parent 159f1d2 commit 1b05dc95db7032c457bb14c4e3dcf38dbd1cca42
Showing with 2 additions and 2 deletions.
  1. +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);

0 comments on commit 1b05dc9

Please sign in to comment.