Fixed building with an older Mac OS X SDK

This commit is contained in:
Sam Lantinga
2017-08-28 20:52:05 -07:00
parent 30f8bae0e1
commit 8c9b4e78a1
2 changed files with 2 additions and 2 deletions

View File

@@ -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_MIN_REQUIRED >= 101100)
#if TARGET_CPU_X86_64 && (MAC_OS_X_VERSION_MAX_REQUIRED >= 101100)
#define SDL_VIDEO_VULKAN 1
#else
#define SDL_VIDEO_VULKAN 0