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

Commit

Permalink
Merged r2954:2955 from branches/SDL-1.2: Altivec alpha blitter alignm…
Browse files Browse the repository at this point in the history
…ent fix.

  Fixes Bugzilla #279.
  • Loading branch information
icculus committed Feb 12, 2007
1 parent 723d51c commit 909ff77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/SDL_blit_A.c
Expand Up @@ -1341,7 +1341,7 @@ Blit32to32SurfaceAlphaAltivec(SDL_BlitInfo * info)
ONE_PIXEL_BLEND((UNALIGNED_PTR(dstp)) && (width), width);
if (width > 0) {
int extrawidth = (width % 4);
vector unsigned char valigner = vec_lvsl(0, srcp);
vector unsigned char valigner = VEC_ALIGNER(srcp);
vector unsigned char vs = (vector unsigned char) vec_ld(0, srcp);
width -= extrawidth;
while (width) {
Expand Down

0 comments on commit 909ff77

Please sign in to comment.