Mercurial > sdl-ios-xcode
comparison src/video/SDL_surface.c @ 2698:e1da92da346c gsoc2008_nds
Clean up.
author | Darren Alton <dalton@stevens.edu> |
---|---|
date | Wed, 27 Aug 2008 04:23:38 +0000 |
parents | c1a390f6a819 |
children | fa1095d42a5b |
comparison
equal
deleted
inserted
replaced
2697:c9121b04cffa | 2698:e1da92da346c |
---|---|
407 | 407 |
408 if (!blendMode) { | 408 if (!blendMode) { |
409 return 0; | 409 return 0; |
410 } | 410 } |
411 | 411 |
412 switch (surface->map->info. | 412 switch (surface->map-> |
413 flags & (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | | 413 info.flags & (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD | |
414 SDL_COPY_MOD)) { | 414 SDL_COPY_MOD)) { |
415 case SDL_COPY_MASK: | 415 case SDL_COPY_MASK: |
416 *blendMode = SDL_TEXTUREBLENDMODE_MASK; | 416 *blendMode = SDL_TEXTUREBLENDMODE_MASK; |
417 break; | 417 break; |
418 case SDL_COPY_BLEND: | 418 case SDL_COPY_BLEND: |
419 *blendMode = SDL_TEXTUREBLENDMODE_BLEND; | 419 *blendMode = SDL_TEXTUREBLENDMODE_BLEND; |