Merge 0b5c769594
into 272010b612
This commit is contained in:
commit
343e04a8d7
|
@ -534,22 +534,15 @@ extern SDL_BlitFunc SDL_CalculateBlitA(SDL_Surface *surface);
|
|||
int n = width; \
|
||||
if (n & 1) { \
|
||||
pixel_copy_increment1; \
|
||||
n -= 1; \
|
||||
} \
|
||||
if (n & 2) { \
|
||||
n >>= 1; \
|
||||
if (n & 1) { \
|
||||
pixel_copy_increment2; \
|
||||
n -= 2; \
|
||||
} \
|
||||
if (n & 4) { \
|
||||
n >>= 1; \
|
||||
while (n > 0) { \
|
||||
pixel_copy_increment4; \
|
||||
n -= 4; \
|
||||
} \
|
||||
if (n) { \
|
||||
n /= 8; \
|
||||
do { \
|
||||
pixel_copy_increment4; \
|
||||
pixel_copy_increment4; \
|
||||
} while (--n > 0); \
|
||||
n--; \
|
||||
} \
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue