Skip to content

Commit

Permalink
configure: On Apple platforms, only exclude Vulkan on x86.
Browse files Browse the repository at this point in the history
This catches both x86-64 and ARM devices.
  • Loading branch information
icculus committed Jul 16, 2020
1 parent 968b830 commit 45f5eb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Expand Up @@ -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
],[
Expand Down

0 comments on commit 45f5eb0

Please sign in to comment.