Skip to content

Commit

Permalink
Ignore new SDL_SIMD_ALIGNED flag for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Feb 18, 2019
1 parent 21a0f7c commit 5bc74c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/SDL12_compat.c
Expand Up @@ -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);
Expand Down

0 comments on commit 5bc74c6

Please sign in to comment.