src/video/SDL_blit_N.c
changeset 6165 b7347e716ab6
parent 6138 4c64952a58fb
child 6281 e46d6f4b469e
     1.1 --- a/src/video/SDL_blit_N.c	Sat Jan 07 01:21:50 2012 -0500
     1.2 +++ b/src/video/SDL_blit_N.c	Sat Jan 07 01:25:55 2012 -0500
     1.3 @@ -28,6 +28,9 @@
     1.4  /* Functions to blit from N-bit surfaces to other surfaces */
     1.5  
     1.6  #if SDL_ALTIVEC_BLITTERS
     1.7 +#ifdef HAVE_ALTIVEC_H
     1.8 +#include <altivec.h>
     1.9 +#endif
    1.10  #define assert(X)
    1.11  #ifdef __MACOSX__
    1.12  #include <sys/sysctl.h>
    1.13 @@ -108,9 +111,10 @@
    1.14      /* ARGB */
    1.15      const static const struct SDL_PixelFormat default_pixel_format = {
    1.16          0, NULL, 0, 0,
    1.17 +        {0, 0},
    1.18 +        0x00FF0000, 0x0000FF00, 0x000000FF, 0xFF000000,
    1.19          0, 0, 0, 0,
    1.20          16, 8, 0, 24,
    1.21 -        0x00FF0000, 0x0000FF00, 0x000000FF, 0xFF000000,
    1.22          0, NULL
    1.23      };
    1.24      if (!srcfmt) {