mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Vulkan support on Mac OS X introduces a link time dependency (CAMetalLayer) on 10.11 and newer
This commit is contained in:
parent
309474765b
commit
e8b114ecfc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user