Commit 2d655cd81429beab3f7de704b8020db6dfce9f5f

Sam Lantinga 2017-08-29T02:32:53

MAC_OS_X_VERSION_MAX_REQUIRED isn't actually set in recent Xcode versions

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/SDL_config_macosx.h b/include/SDL_config_macosx.h
index 1951b09..476ef4a 100644
--- a/include/SDL_config_macosx.h
+++ b/include/SDL_config_macosx.h
@@ -176,7 +176,7 @@
 
 /* Enable Vulkan support */
 /* 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
 #else
 #define  SDL_VIDEO_VULKAN 0