changeset 2086:fffea8d6bf92

Merged r2954:2955 from branches/SDL-1.2: Altivec alpha blitter alignment fix. Fixes Bugzilla #279.
author Ryan C. Gordon <icculus@icculus.org>
date Mon, 12 Feb 2007 10:57:45 +0000
parents 962aa10fa95b
children b10089473699
files src/video/SDL_blit_A.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/SDL_blit_A.c	Thu Feb 08 21:54:18 2007 +0000
+++ b/src/video/SDL_blit_A.c	Mon Feb 12 10:57:45 2007 +0000
@@ -1341,7 +1341,7 @@
         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) {