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

Merged r2954:2955 from branches/SDL-1.2: Altivec alpha blitter alignm…

…ent fix.

  Fixes Bugzilla #279.
  • Loading branch information
icculus committed Feb 12, 2007
1 parent 723d51c commit 909ff777ab0046388bd246dddee90ad03d6a110e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/video/SDL_blit_A.c
@@ -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) {

0 comments on commit 909ff77

Please sign in to comment.