disable pixman ARM blitters for __aarch64__ | _M_ARM64

Closes:  https://github.com/libsdl-org/SDL/issues/4095
This commit is contained in:
Ozkan Sezer 2021-02-25 19:40:28 +03:00 committed by Sam Lantinga
parent 2f4e9294aa
commit 72f7a10cef
1 changed files with 6 additions and 0 deletions

View File

@ -27,6 +27,12 @@
#include "SDL_endian.h"
#include "SDL_surface.h"
/* pixman ARM blitters are 32 bit only : */
#if defined(__aarch64__)||defined(_M_ARM64)
#undef SDL_ARM_SIMD_BLITTERS
#undef SDL_ARM_NEON_BLITTERS
#endif
/* Table to do pixel byte expansion */
extern Uint8* SDL_expand_byte[9];