Commit 72f7a10cef85a3c8d1bb32f55e2ae6902ee0c3d5

Ozkan Sezer 2021-02-25T19:40:28

disable pixman ARM blitters for __aarch64__ | _M_ARM64 Closes: https://github.com/libsdl-org/SDL/issues/4095

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/src/video/SDL_blit.h b/src/video/SDL_blit.h
index fd1087f..4b50c7d 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];