소스 검색

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];