瀏覽代碼

disable pixman ARM blitters for __aarch64__ | _M_ARM64

Closes:  https://github.com/libsdl-org/SDL/issues/4095
Ozkan Sezer 5 年之前
父節點
當前提交
72f7a10cef
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      src/video/SDL_blit.h

+ 6 - 0
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];