Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Christian Walther fixed bug #529
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Dec 29, 2007
1 parent 159f1d2 commit 1b05dc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/video/SDL_blit_A.c
Expand Up @@ -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);

Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit 1b05dc9

Please sign in to comment.