Mercurial > sdl-ios-xcode
diff test/testsprite2.c @ 3186:51750b7a966f
indent
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 10 Jun 2009 13:34:20 +0000 |
parents | d1436442215f |
children | 8fe0806637df |
line wrap: on
line diff
--- a/test/testsprite2.c Wed Jun 10 08:09:04 2009 +0000 +++ b/test/testsprite2.c Wed Jun 10 13:34:20 2009 +0000 @@ -61,13 +61,15 @@ } else { switch (temp->format->BitsPerPixel) { case 15: - SDL_SetColorKey(temp, SDL_SRCCOLORKEY, (*(Uint16 *) temp->pixels) & 0x00007FFF); + SDL_SetColorKey(temp, SDL_SRCCOLORKEY, + (*(Uint16 *) temp->pixels) & 0x00007FFF); break; case 16: SDL_SetColorKey(temp, SDL_SRCCOLORKEY, *(Uint16 *) temp->pixels); break; case 24: - SDL_SetColorKey(temp, SDL_SRCCOLORKEY, (*(Uint32 *) temp->pixels) & 0x00FFFFFF); + SDL_SetColorKey(temp, SDL_SRCCOLORKEY, + (*(Uint32 *) temp->pixels) & 0x00FFFFFF); break; case 32: SDL_SetColorKey(temp, SDL_SRCCOLORKEY, *(Uint32 *) temp->pixels);