From 72f7a10cef85a3c8d1bb32f55e2ae6902ee0c3d5 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Thu, 25 Feb 2021 19:40:28 +0300 Subject: [PATCH] disable pixman ARM blitters for __aarch64__ | _M_ARM64 Closes: https://github.com/libsdl-org/SDL/issues/4095 --- src/video/SDL_blit.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/video/SDL_blit.h b/src/video/SDL_blit.h index fd1087ffe..4b50c7dc3 100644 --- a/src/video/SDL_blit.h +++ b/src/video/SDL_blit.h @@ -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];