Ignore new SDL_SIMD_ALIGNED flag for now.
authorRyan C. Gordon <icculus@icculus.org>
Mon, 18 Feb 2019 00:25:14 -0500
changeset 665cd0103f58ca
parent 65 68cb13eba09d
child 67 4df59270e628
Ignore new SDL_SIMD_ALIGNED flag for now.
src/SDL12_compat.c
     1.1 --- a/src/SDL12_compat.c	Mon Feb 18 00:24:42 2019 -0500
     1.2 +++ b/src/SDL12_compat.c	Mon Feb 18 00:25:14 2019 -0500
     1.3 @@ -1316,6 +1316,9 @@
     1.4  
     1.5      SDL20_zerop(surface12);
     1.6      flags = surface20->flags;
     1.7 +    #ifdef SDL_SIMD_ALIGNED
     1.8 +    flags &= ~SDL_SIMD_ALIGNED;  /* we don't need to map this to 1.2 */
     1.9 +    #endif
    1.10      #define MAPSURFACEFLAGS(fl) { if (surface20->flags & SDL_##fl) { surface12->flags |= SDL12_##fl; flags &= ~SDL_##fl; } }
    1.11      MAPSURFACEFLAGS(PREALLOC);
    1.12      MAPSURFACEFLAGS(RLEACCEL);