2
0
Эх сурвалжийг харах

disable pixman ARM blitters for __aarch64__ | _M_ARM64

Closes:  https://github.com/libsdl-org/SDL/issues/4095
Ozkan Sezer 4 жил өмнө
parent
commit
72f7a10cef

+ 6 - 0
src/video/SDL_blit.h

@@ -27,6 +27,12 @@
 #include "SDL_endian.h"
 #include "SDL_endian.h"
 #include "SDL_surface.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 */
 /* Table to do pixel byte expansion */
 extern Uint8* SDL_expand_byte[9];
 extern Uint8* SDL_expand_byte[9];