Mercurial > sdl-ios-xcode
diff src/video/SDL_RLEaccel.c @ 2267:c785543d1843
Okay, still some bugs, but everything builds again...
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 18 Aug 2007 05:39:09 +0000 |
parents | e61ad15a205f |
children | 91e601d9df8b |
line wrap: on
line diff
--- a/src/video/SDL_RLEaccel.c Sat Aug 18 01:44:21 2007 +0000 +++ b/src/video/SDL_RLEaccel.c Sat Aug 18 05:39:09 2007 +0000 @@ -1821,13 +1821,13 @@ /* If we don't have colorkey or blending, nothing to do... */ flags = surface->map->info.flags; - if(!(flags & (SDL_COPY_COLORKEY|SDL_COPY_BLEND))) { + if (!(flags & (SDL_COPY_COLORKEY | SDL_COPY_BLEND))) { return -1; } /* Pass on combinations not supported */ if ((flags & SDL_COPY_MODULATE_COLOR) || - (flags & (SDL_COPY_ADD|SDL_COPY_MOD)) || + (flags & (SDL_COPY_ADD | SDL_COPY_MOD)) || (flags & SDL_COPY_NEAREST)) { return -1; } @@ -1971,7 +1971,8 @@ } } } - surface->map->info.flags &= (SDL_COPY_RLE_COLORKEY|SDL_COPY_RLE_ALPHAKEY); + surface->map->info.flags &= + (SDL_COPY_RLE_COLORKEY | SDL_COPY_RLE_ALPHAKEY); if (surface->map->data) { SDL_free(surface->map->data);