comparison src/video/SDL_blit_N.c @ 3013:8cc00819c8d6

Reverted Bob's indent checkin
author Sam Lantinga <slouken@libsdl.org>
date Sat, 10 Jan 2009 21:50:26 +0000
parents 8f4ed5ec2b06
children e763aa6db88b
comparison
equal deleted inserted replaced
3012:7e30c2dc7783 3013:8cc00819c8d6
139 Uint32 bmask = RESHIFT(srcfmt->Bshift) << (dstfmt->Bshift); 139 Uint32 bmask = RESHIFT(srcfmt->Bshift) << (dstfmt->Bshift);
140 Uint32 amask; 140 Uint32 amask;
141 /* Use zero for alpha if either surface doesn't have alpha */ 141 /* Use zero for alpha if either surface doesn't have alpha */
142 if (dstfmt->Amask) { 142 if (dstfmt->Amask) {
143 amask = 143 amask =
144 ((srcfmt->Amask) ? RESHIFT(srcfmt->Ashift) : 0x10) << (dstfmt-> 144 ((srcfmt->Amask) ? RESHIFT(srcfmt->
145 Ashift); 145 Ashift) : 0x10) << (dstfmt->Ashift);
146 } else { 146 } else {
147 amask = 147 amask =
148 0x10101010 & ((dstfmt->Rmask | dstfmt->Gmask | dstfmt->Bmask) ^ 148 0x10101010 & ((dstfmt->Rmask | dstfmt->Gmask | dstfmt->Bmask) ^
149 0xFFFFFFFF); 149 0xFFFFFFFF);
150 } 150 }