Explorar o código

SDL_intrin.h: fixed typo in AVX2 checks.

Ozkan Sezer %!s(int64=2) %!d(string=hai) anos
pai
achega
5d4d11f92f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      include/SDL3/SDL_intrin.h

+ 1 - 1
include/SDL3/SDL_intrin.h

@@ -144,7 +144,7 @@ _m_prefetch(void *__P)
 #  define SDL_AVX_INTRINSICS 1
 #  include <immintrin.h>
 # endif
-# if (defined(_MSC_VER) || defined(__AVX__) || defined(SDL_HAS_TARGET_ATTRIBS)) && !defined(SDL_DISABLE_AVX2)
+# if (defined(_MSC_VER) || defined(__AVX2__) || defined(SDL_HAS_TARGET_ATTRIBS)) && !defined(SDL_DISABLE_AVX2)
 #  define SDL_AVX2_INTRINSICS 1
 #  include <immintrin.h>
 # endif