mirror of
https://github.com/shadps4-emu/ext-SDL.git
synced 2024-12-19 16:59:55 +00:00
Re-add check for Metal on x86, where it's not supported.
This commit is contained in:
parent
b7a4fdd318
commit
b0ca8efd29
4
configure
vendored
4
configure
vendored
@ -21775,6 +21775,10 @@ $as_echo_n "checking for Metal framework... " >&6; }
|
||||
#import <Metal/Metal.h>
|
||||
#import <QuartzCore/CAMetalLayer.h>
|
||||
|
||||
#if TARGET_CPU_X86
|
||||
#error Metal doesn't work on this configuration
|
||||
#endif
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
|
@ -2156,6 +2156,10 @@ AS_HELP_STRING([--enable-render-metal], [enable the Metal render driver [[defaul
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import <Metal/Metal.h>
|
||||
#import <QuartzCore/CAMetalLayer.h>
|
||||
|
||||
#if TARGET_CPU_X86
|
||||
#error Metal doesn't work on this configuration
|
||||
#endif
|
||||
],[
|
||||
],[
|
||||
have_metal=yes
|
||||
|
Loading…
Reference in New Issue
Block a user