Mercurial > sdl-ios-xcode
diff src/video/SDL_blit_A.c @ 3011:8f4ed5ec2b06
I ran a global "make indent" it modified the following files.
author | Bob Pendleton <bob@pendleton.com> |
---|---|
date | Fri, 09 Jan 2009 20:43:30 +0000 |
parents | 99210400e8b9 |
children | 8cc00819c8d6 |
line wrap: on
line diff
--- a/src/video/SDL_blit_A.c Fri Jan 09 20:41:31 2009 +0000 +++ b/src/video/SDL_blit_A.c Fri Jan 09 20:43:30 2009 +0000 @@ -283,8 +283,8 @@ amult = alpha | (alpha << 8); amult = amult | (amult << 16); chanmask = - (0xff << df->Rshift) | (0xff << df-> - Gshift) | (0xff << df->Bshift); + (0xff << df->Rshift) | (0xff << df->Gshift) | (0xff << df-> + Bshift); mm_alpha = _mm_set_pi32(0, amult & chanmask); /* 0000AAAA -> mm_alpha, minus 1 chan */ mm_alpha = _mm_unpacklo_pi8(mm_alpha, mm_zero); /* 0A0A0A0A -> mm_alpha, minus 1 chan */ /* at this point mm_alpha can be 000A0A0A or 0A0A0A00 or another combo */ @@ -526,8 +526,8 @@ /* Use zero for alpha if either surface doesn't have alpha */ if (dstfmt->Amask) { amask = - ((srcfmt->Amask) ? RESHIFT(srcfmt-> - Ashift) : 0x10) << (dstfmt->Ashift); + ((srcfmt->Amask) ? RESHIFT(srcfmt->Ashift) : 0x10) << (dstfmt-> + Ashift); } else { amask = 0x10101010 & ((dstfmt->Rmask | dstfmt->Gmask | dstfmt->Bmask) ^