Mercurial > sdl-ios-xcode
diff src/video/SDL_fill.c @ 2830:af3dd02cf043
fixed formatting
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 05 Dec 2008 06:19:09 +0000 |
parents | 6d99edd791bf |
children | 99210400e8b9 |
line wrap: on
line diff
--- a/src/video/SDL_fill.c Thu Dec 04 16:54:22 2008 +0000 +++ b/src/video/SDL_fill.c Fri Dec 05 06:19:09 2008 +0000 @@ -31,10 +31,10 @@ #ifdef _MSC_VER #define SSE_BEGIN \ __m128 c128; \ - c128.m128_u32[0] = color; \ - c128.m128_u32[1] = color; \ - c128.m128_u32[2] = color; \ - c128.m128_u32[3] = color; + c128.m128_u32[0] = color; \ + c128.m128_u32[1] = color; \ + c128.m128_u32[2] = color; \ + c128.m128_u32[3] = color; #else #define SSE_BEGIN \ DECLARE_ALIGNED(Uint32, cccc[4], 16); \ @@ -71,7 +71,7 @@ if (adjust < 16) { \ n -= adjust; \ adjust /= bpp; \ - while(adjust--) { \ + while (adjust--) { \ *((type *)p) = (type)color; \ p += bpp; \ } \ @@ -81,7 +81,7 @@ if (n & 63) { \ int remainder = (n & 63); \ remainder /= bpp; \ - while(remainder--) { \ + while (remainder--) { \ *((type *)p) = (type)color; \ p += bpp; \ } \ @@ -136,7 +136,7 @@ if (adjust < 8) { \ n -= adjust; \ adjust /= bpp; \ - while(adjust--) { \ + while (adjust--) { \ *((type *)p) = (type)color; \ p += bpp; \ } \ @@ -146,7 +146,7 @@ if (n & 63) { \ int remainder = (n & 63); \ remainder /= bpp; \ - while(remainder--) { \ + while (remainder--) { \ *((type *)p) = (type)color; \ p += bpp; \ } \