Mercurial > sdl-ios-xcode
comparison src/video/SDL_blit.c @ 2329:c1a390f6a819
ran make indent
author | Bob Pendleton <bob@pendleton.com> |
---|---|
date | Fri, 14 Mar 2008 20:43:44 +0000 |
parents | 91e601d9df8b |
children | 5eb95b8adc1a |
comparison
equal
deleted
inserted
replaced
2328:91e601d9df8b | 2329:c1a390f6a819 |
---|---|
228 map->info.dst_pitch = dst->pitch; | 228 map->info.dst_pitch = dst->pitch; |
229 | 229 |
230 /* See if we can do RLE acceleration */ | 230 /* See if we can do RLE acceleration */ |
231 if (surface->map->info.flags & SDL_COPY_RLE_DESIRED) { | 231 if (surface->map->info.flags & SDL_COPY_RLE_DESIRED) { |
232 if (SDL_RLESurface(surface) == 0) { | 232 if (SDL_RLESurface(surface) == 0) { |
233 surface->map->info.flags &= ~SDL_COPY_RLE_DESIRED; | |
233 return 0; | 234 return 0; |
234 } | 235 } |
235 } | 236 } |
236 | 237 |
237 /* Choose a standard blit function */ | 238 /* Choose a standard blit function */ |
258 surface->format->Gmask, | 259 surface->format->Gmask, |
259 surface->format->Bmask, | 260 surface->format->Bmask, |
260 surface->format->Amask); | 261 surface->format->Amask); |
261 Uint32 dst_format = | 262 Uint32 dst_format = |
262 SDL_MasksToPixelFormatEnum(dst->format->BitsPerPixel, | 263 SDL_MasksToPixelFormatEnum(dst->format->BitsPerPixel, |
263 dst->format->Rmask, | 264 dst->format->Rmask, |
264 dst->format->Gmask, | 265 dst->format->Gmask, |
265 dst->format->Bmask, | 266 dst->format->Bmask, |
266 dst->format->Amask); | 267 dst->format->Amask); |
267 | 268 |
268 blit = | 269 blit = |