Mercurial > sdl-ios-xcode
comparison src/video/SDL_blit_A.c @ 1175:867f521591e5
Fixed Altivec support on Mac OS X.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Thu, 17 Nov 2005 03:43:42 +0000 |
parents | 2651158f59b8 |
children | 3b8a43c428bb |
comparison
equal
deleted
inserted
replaced
1174:8c43aceeed81 | 1175:867f521591e5 |
---|---|
420 emms(); | 420 emms(); |
421 } | 421 } |
422 #endif | 422 #endif |
423 | 423 |
424 #ifdef USE_ALTIVEC_BLITTERS | 424 #ifdef USE_ALTIVEC_BLITTERS |
425 #ifdef HAVE_ALTIVEC_H | |
425 #include <altivec.h> | 426 #include <altivec.h> |
427 #endif | |
426 #include <assert.h> | 428 #include <assert.h> |
427 | 429 |
428 #if ((defined MACOSX) && (__GNUC__ < 4)) | 430 #if ((defined MACOSX) && (__GNUC__ < 4)) |
429 #define VECUINT8_LITERAL(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) \ | 431 #define VECUINT8_LITERAL(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) \ |
430 (vector unsigned char) ( a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p ) | 432 (vector unsigned char) ( a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p ) |