comparison src/video/SDL_blit_N.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
comparison
equal deleted inserted replaced
3010:a6694a812119 3011:8f4ed5ec2b06
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-> 144 ((srcfmt->Amask) ? RESHIFT(srcfmt->Ashift) : 0x10) << (dstfmt->
145 Ashift) : 0x10) << (dstfmt->Ashift); 145 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 }