From 5bc74c6d72cd49ee0a53df38b86d336ef7646989 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 18 Feb 2019 00:25:14 -0500 Subject: [PATCH] Ignore new SDL_SIMD_ALIGNED flag for now. --- src/SDL12_compat.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/SDL12_compat.c b/src/SDL12_compat.c index 94dc97e78..ad8787325 100644 --- a/src/SDL12_compat.c +++ b/src/SDL12_compat.c @@ -1316,6 +1316,9 @@ Surface20to12(SDL_Surface *surface20) SDL20_zerop(surface12); flags = surface20->flags; + #ifdef SDL_SIMD_ALIGNED + flags &= ~SDL_SIMD_ALIGNED; /* we don't need to map this to 1.2 */ + #endif #define MAPSURFACEFLAGS(fl) { if (surface20->flags & SDL_##fl) { surface12->flags |= SDL12_##fl; flags &= ~SDL_##fl; } } MAPSURFACEFLAGS(PREALLOC); MAPSURFACEFLAGS(RLEACCEL);