Mercurial > sdl-ios-xcode
comparison src/video/SDL_blit_A.c @ 2232:6630fefab312
indent
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 12 Aug 2007 16:26:10 +0000 |
parents | a353684c7cc1 |
children | 17b2369756be |
comparison
equal
deleted
inserted
replaced
2231:a353684c7cc1 | 2232:6630fefab312 |
---|---|
2835 if ((surface->flags & SDL_SRCCOLORKEY) == SDL_SRCCOLORKEY) { | 2835 if ((surface->flags & SDL_SRCCOLORKEY) == SDL_SRCCOLORKEY) { |
2836 if (df->BytesPerPixel == 1) | 2836 if (df->BytesPerPixel == 1) |
2837 return BlitNto1SurfaceAlphaKey; | 2837 return BlitNto1SurfaceAlphaKey; |
2838 else | 2838 else |
2839 #if SDL_ALTIVEC_BLITTERS | 2839 #if SDL_ALTIVEC_BLITTERS |
2840 if (sf->BytesPerPixel == 4 && df->BytesPerPixel == 4 && | 2840 if (sf->BytesPerPixel == 4 && df->BytesPerPixel == 4 && |
2841 SDL_HasAltiVec()) | 2841 SDL_HasAltiVec()) |
2842 return Blit32to32SurfaceAlphaKeyAltivec; | 2842 return Blit32to32SurfaceAlphaKeyAltivec; |
2843 else | 2843 else |
2844 #endif | 2844 #endif |
2845 return BlitNtoNSurfaceAlphaKey; | 2845 return BlitNtoNSurfaceAlphaKey; |