Mercurial > sdl-ios-xcode
comparison src/video/SDL_blit_N.c @ 1659:14717b52abc0 SDL-1.3
Merge trunk-1.3-3
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 17 May 2006 08:18:28 +0000 |
parents | ab1e4c41ab71 |
children | 782fd950bd46 c121d94672cb a1b03ba2fcd0 |
comparison
equal
deleted
inserted
replaced
1658:e49147870aac | 1659:14717b52abc0 |
---|---|
27 #include "SDL_blit.h" | 27 #include "SDL_blit.h" |
28 | 28 |
29 /* Functions to blit from N-bit surfaces to other surfaces */ | 29 /* Functions to blit from N-bit surfaces to other surfaces */ |
30 | 30 |
31 #if SDL_ALTIVEC_BLITTERS | 31 #if SDL_ALTIVEC_BLITTERS |
32 #if __MWERKS__ | |
33 #pragma altivec_model on | |
34 #endif | |
32 #ifdef HAVE_ALTIVEC_H | 35 #ifdef HAVE_ALTIVEC_H |
33 #include <altivec.h> | 36 #include <altivec.h> |
34 #endif | 37 #endif |
35 #define assert(X) | 38 #define assert(X) |
36 #ifdef __MACOSX__ | 39 #ifdef __MACOSX__ |
828 ); | 831 ); |
829 } | 832 } |
830 } | 833 } |
831 return features; | 834 return features; |
832 } | 835 } |
836 #if __MWERKS__ | |
837 #pragma altivec_model off | |
838 #endif | |
833 #else | 839 #else |
834 /* Feature 1 is has-MMX */ | 840 /* Feature 1 is has-MMX */ |
835 #define GetBlitFeatures() ((Uint32)(SDL_HasMMX() ? 1 : 0)) | 841 #define GetBlitFeatures() ((Uint32)(SDL_HasMMX() ? 1 : 0)) |
836 #endif | 842 #endif |
837 | 843 |