src/video/SDL_blit.c
changeset 2250 e1d228456537
parent 2249 5a58b57b6724
child 2253 6d99edd791bf
--- a/src/video/SDL_blit.c	Thu Aug 16 05:56:24 2007 +0000
+++ b/src/video/SDL_blit.c	Thu Aug 16 06:20:51 2007 +0000
@@ -139,10 +139,11 @@
     static Uint32 features = 0xffffffff;
 
     if (features == 0xffffffff) {
+        const char *override = SDL_getenv("SDL_BLIT_FEATURES");
+
         features = SDL_BLIT_ANY;
 
-        /* Provide an override for testing .. */
-        const char *override = SDL_getenv("SDL_BLIT_FEATURES");
+        /* Allow an override for testing .. */
         if (override) {
             SDL_sscanf(override, "%u", &features);
         } else {
@@ -152,7 +153,7 @@
             if (SDL_HasSSE()) {
                 features |= SDL_BLIT_SSE;
             }
-            if (SDL_HasAltivec()) {
+            if (SDL_HasAltiVec()) {
                 if (SDL_UseAltivecPrefetch()) {
                     features |= SDL_BLIT_ALTIVEC_PREFETCH;
                 } else {