mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-01-12 05:41:10 +01:00
configure: On Apple platforms, only exclude Vulkan on x86.
This catches both x86-64 and ARM devices.
This commit is contained in:
parent
968b830d14
commit
45f5eb0615
2
configure
vendored
2
configure
vendored
@ -22674,7 +22674,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
||||
#include <Metal/Metal.h>
|
||||
#include <QuartzCore/CAMetalLayer.h>
|
||||
|
||||
#if !TARGET_CPU_X86_64
|
||||
#if TARGET_CPU_X86
|
||||
#error Vulkan doesn't work on this configuration
|
||||
#endif
|
||||
|
||||
|
@ -2568,7 +2568,7 @@ CheckVulkan()
|
||||
#include <Metal/Metal.h>
|
||||
#include <QuartzCore/CAMetalLayer.h>
|
||||
|
||||
#if !TARGET_CPU_X86_64
|
||||
#if TARGET_CPU_X86
|
||||
#error Vulkan doesn't work on this configuration
|
||||
#endif
|
||||
],[
|
||||
|
Loading…
Reference in New Issue
Block a user