src/video/SDL_blit_1.c
changeset 10609 d702ecbd8ba7
parent 9998 f67cf37e9cd4
child 10737 3406a0f8b041
     1.1 --- a/src/video/SDL_blit_1.c	Sun Nov 13 00:09:02 2016 -0800
     1.2 +++ b/src/video/SDL_blit_1.c	Sun Nov 13 22:57:41 2016 -0800
     1.3 @@ -70,12 +70,14 @@
     1.4  }
     1.5  
     1.6  /* This is now endian dependent */
     1.7 -#if ( SDL_BYTEORDER == SDL_LIL_ENDIAN )
     1.8 -#define HI	1
     1.9 -#define LO	0
    1.10 -#else /* ( SDL_BYTEORDER == SDL_BIG_ENDIAN ) */
    1.11 -#define HI	0
    1.12 -#define LO	1
    1.13 +#ifndef USE_DUFFS_LOOP
    1.14 +# if ( SDL_BYTEORDER == SDL_LIL_ENDIAN )
    1.15 +#  define HI	1
    1.16 +#  define LO	0
    1.17 +# else /* ( SDL_BYTEORDER == SDL_BIG_ENDIAN ) */
    1.18 +#  define HI	0
    1.19 +#  define LO	1
    1.20 +# endif
    1.21  #endif
    1.22  static void
    1.23  Blit1to2(SDL_BlitInfo * info)