Mercurial > sdl-ios-xcode
changeset 2260:202ddfd1cfb1
indent
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 17 Aug 2007 02:55:21 +0000 |
parents | 1e690901ecd7 |
children | c20476d7d7b3 |
files | src/video/SDL_blit.c src/video/SDL_blit.h src/video/SDL_blit_A.c src/video/SDL_pixels.c src/video/SDL_surface.c |
diffstat | 5 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/src/video/SDL_blit.c Fri Aug 17 02:54:50 2007 +0000 +++ b/src/video/SDL_blit.c Fri Aug 17 02:55:21 2007 +0000 @@ -82,7 +82,7 @@ info.dst = dst->format; info.ckey = src->map->ckey; info.cmod = src->map->cmod; - RunBlit = (SDL_loblit)src->map->data; + RunBlit = (SDL_loblit) src->map->data; /* Run the actual software blit */ RunBlit(&info);
--- a/src/video/SDL_blit.h Fri Aug 17 02:54:50 2007 +0000 +++ b/src/video/SDL_blit.h Fri Aug 17 02:55:21 2007 +0000 @@ -62,8 +62,8 @@ Uint8 *table; SDL_blit blit; void *data; - Uint32 ckey; /* colorkey */ - Uint32 cmod; /* ARGB modulation */ + Uint32 ckey; /* colorkey */ + Uint32 cmod; /* ARGB modulation */ /* the version count matches the destination; mismatch indicates an invalid mapping */
--- a/src/video/SDL_blit_A.c Fri Aug 17 02:54:50 2007 +0000 +++ b/src/video/SDL_blit_A.c Fri Aug 17 02:55:21 2007 +0000 @@ -371,7 +371,7 @@ __m64 src1, dst1, mm_alpha, mm_zero, dmask; mm_zero = _mm_setzero_si64(); /* 0 -> mm_zero */ - multmask = 0xFFFF; + multmask = 0xFFFF; multmask <<= (ashift * 2); multmask = ~multmask; dmask = *(__m64 *) & multmask; /* dst alpha mask -> dmask */ @@ -1389,7 +1389,7 @@ __m64 src1, dst1, mm_alpha, mm_zero, dmask; mm_zero = _mm_setzero_si64(); /* 0 -> mm_zero */ - multmask = 0xFFFF; + multmask = 0xFFFF; multmask <<= (ashift * 2); multmask = ~multmask; dmask = *(__m64 *) & multmask; /* dst alpha mask -> dmask */ @@ -1874,7 +1874,7 @@ static void Blit555to555SurfaceAlpha(SDL_BlitInfo * info) { - unsigned alpha = (info->cmod >> 24); /* downscale alpha to 5 bits */ + unsigned alpha = (info->cmod >> 24); /* downscale alpha to 5 bits */ if (alpha == 128) { Blit16to16SurfaceAlpha128(info, 0xfbde); } else {
--- a/src/video/SDL_pixels.c Fri Aug 17 02:54:50 2007 +0000 +++ b/src/video/SDL_pixels.c Fri Aug 17 02:55:21 2007 +0000 @@ -673,7 +673,7 @@ Uint8 *map; int i; int bpp; - unsigned Amod, Rmod, Gmod, Bmod; + unsigned Amod, Rmod, Gmod, Bmod; SDL_Palette *pal = src->palette; bpp = ((dst->BytesPerPixel == 3) ? 4 : dst->BytesPerPixel);
--- a/src/video/SDL_surface.c Fri Aug 17 02:54:50 2007 +0000 +++ b/src/video/SDL_surface.c Fri Aug 17 02:55:21 2007 +0000 @@ -286,7 +286,7 @@ if (flag) { surface->flags |= SDL_SRCALPHA; surface->map->cmod &= 0x00FFFFFF; - surface->map->cmod |= ((Uint32)value << 24); + surface->map->cmod |= ((Uint32) value << 24); if (flag & SDL_RLEACCELOK) { surface->flags |= SDL_RLEACCELOK; } else { @@ -611,7 +611,7 @@ if (format->Amask) { surface->flags &= ~SDL_SRCALPHA; } else { - alpha = (Uint8)(surface->map->cmod >> 24); + alpha = (Uint8) (surface->map->cmod >> 24); SDL_SetAlpha(surface, 0, 0); } }