mirror of
https://github.com/yawut/SDL.git
synced 2026-04-24 23:37:09 -05:00
Merged r2954:2955 from branches/SDL-1.2: Altivec alpha blitter alignment fix.
Fixes Bugzilla #279.
This commit is contained in:
parent
cbdb82cef6
commit
f5e95020ad
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user