Mercurial > sdl-ios-xcode
comparison src/video/SDL_blit.c @ 1658:e49147870aac SDL-1.3
glSDL support
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 01 May 2006 06:58:33 +0000 |
parents | d910939febfa |
children | 782fd950bd46 |
comparison
equal
deleted
inserted
replaced
1657:5b0805ceb50f | 1658:e49147870aac |
---|---|
279 SDL_VideoDevice *video = current_video; | 279 SDL_VideoDevice *video = current_video; |
280 SDL_VideoDevice *this = current_video; | 280 SDL_VideoDevice *this = current_video; |
281 video->CheckHWBlit(this, surface, surface->map->dst); | 281 video->CheckHWBlit(this, surface, surface->map->dst); |
282 } | 282 } |
283 } | 283 } |
284 | 284 |
285 /* Get the blit function index, based on surface mode */ | 285 /* Get the blit function index, based on surface mode */ |
286 /* { 0 = nothing, 1 = colorkey, 2 = alpha, 3 = colorkey+alpha } */ | 286 /* { 0 = nothing, 1 = colorkey, 2 = alpha, 3 = colorkey+alpha } */ |
287 blit_index = 0; | 287 blit_index = 0; |
288 blit_index |= (!!(surface->flags & SDL_SRCCOLORKEY)) << 0; | 288 blit_index |= (!!(surface->flags & SDL_SRCCOLORKEY)) << 0; |
289 if ( surface->flags & SDL_SRCALPHA | 289 if ( surface->flags & SDL_SRCALPHA |