src/video/SDL_blit_N.c
branchSDL-1.3
changeset 1659 14717b52abc0
parent 1544 ab1e4c41ab71
child 1662 782fd950bd46
child 1895 c121d94672cb
child 4159 a1b03ba2fcd0
     1.1 --- a/src/video/SDL_blit_N.c	Mon May 01 06:58:33 2006 +0000
     1.2 +++ b/src/video/SDL_blit_N.c	Wed May 17 08:18:28 2006 +0000
     1.3 @@ -29,6 +29,9 @@
     1.4  /* Functions to blit from N-bit surfaces to other surfaces */
     1.5  
     1.6  #if SDL_ALTIVEC_BLITTERS
     1.7 +#if __MWERKS__
     1.8 +#pragma altivec_model on
     1.9 +#endif
    1.10  #ifdef HAVE_ALTIVEC_H
    1.11  #include <altivec.h>
    1.12  #endif
    1.13 @@ -830,6 +833,9 @@
    1.14      }
    1.15      return features;
    1.16  }
    1.17 +#if __MWERKS__
    1.18 +#pragma altivec_model off
    1.19 +#endif
    1.20  #else
    1.21  /* Feature 1 is has-MMX */
    1.22  #define GetBlitFeatures() ((Uint32)(SDL_HasMMX() ? 1 : 0))