소스 검색

MAC_OS_X_VERSION_MAX_REQUIRED isn't actually set in recent Xcode versions

Sam Lantinga 9 년 전
부모
커밋
2d655cd814
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      include/SDL_config_macosx.h

+ 1 - 1
include/SDL_config_macosx.h

@@ -176,7 +176,7 @@
 
 
 /* Enable Vulkan support */
 /* Enable Vulkan support */
 /* Metal/MoltenVK/Vulkan only supported on 64-bit architectures with 10.11+ */
 /* Metal/MoltenVK/Vulkan only supported on 64-bit architectures with 10.11+ */
-#if TARGET_CPU_X86_64 && (MAC_OS_X_VERSION_MAX_REQUIRED >= 101100)
+#if TARGET_CPU_X86_64
 #define SDL_VIDEO_VULKAN 1
 #define SDL_VIDEO_VULKAN 1
 #else
 #else
 #define  SDL_VIDEO_VULKAN 0
 #define  SDL_VIDEO_VULKAN 0