Skip to content

Commit

Permalink
Vulkan support on Mac OS X introduces a link time dependency (CAMetal…
Browse files Browse the repository at this point in the history
…Layer) on 10.11 and newer
  • Loading branch information
slouken committed Aug 29, 2017
1 parent 3094747 commit e8b114e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/SDL_config_macosx.h
Expand Up @@ -175,8 +175,8 @@
#endif

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

0 comments on commit e8b114e

Please sign in to comment.