From b0ca8efd29debe76ce5a528049e00065f08cd4c2 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 17 Jul 2020 22:21:37 -0700 Subject: [PATCH] Re-add check for Metal on x86, where it's not supported. --- configure | 4 ++++ configure.ac | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/configure b/configure index f247ccbef..b7ae81973 100755 --- a/configure +++ b/configure @@ -21775,6 +21775,10 @@ $as_echo_n "checking for Metal framework... " >&6; } #import #import + #if TARGET_CPU_X86 + #error Metal doesn't work on this configuration + #endif + int main () { diff --git a/configure.ac b/configure.ac index 74817611d..5ba9d053f 100644 --- a/configure.ac +++ b/configure.ac @@ -2156,6 +2156,10 @@ AS_HELP_STRING([--enable-render-metal], [enable the Metal render driver [[defaul #import #import #import + + #if TARGET_CPU_X86 + #error Metal doesn't work on this configuration + #endif ],[ ],[ have_metal=yes