Skip to content

Commit

Permalink
Fixed check for Mac OS X 10.11+ SDK (thanks Edward Rudd!)
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Aug 29, 2017
1 parent 2d655cd commit abf8fc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/SDL_config_macosx.h
Expand Up @@ -176,7 +176,7 @@

/* Enable Vulkan support */
/* Metal/MoltenVK/Vulkan only supported on 64-bit architectures with 10.11+ */
#if TARGET_CPU_X86_64
#if TARGET_CPU_X86_64 && (MAC_OS_X_VERSION_MAX_ALLOWED >= 101100)
#define SDL_VIDEO_VULKAN 1
#else
#define SDL_VIDEO_VULKAN 0
Expand Down

0 comments on commit abf8fc4

Please sign in to comment.