src/video/SDL_blit_N.c
changeset 1336 3692456e7b0f
parent 1330 450721ad5436
child 1338 604d73db6802
     1.1 --- a/src/video/SDL_blit_N.c	Mon Feb 06 17:28:04 2006 +0000
     1.2 +++ b/src/video/SDL_blit_N.c	Tue Feb 07 06:59:48 2006 +0000
     1.3 @@ -817,10 +817,10 @@
     1.4      static Uint32 features = 0xffffffff;
     1.5      if (features == 0xffffffff) {
     1.6          /* Provide an override for testing .. */
     1.7 -        char *override = getenv("SDL_ALTIVEC_BLIT_FEATURES");
     1.8 +        char *override = SDL_getenv("SDL_ALTIVEC_BLIT_FEATURES");
     1.9          if (override) {
    1.10              features = 0;
    1.11 -            sscanf(override, "%u", &features);
    1.12 +            SDL_sscanf(override, "%u", &features);
    1.13          } else {
    1.14              features = ( 0
    1.15                  /* Feature 1 is has-MMX */