(Apple/Makefile/Qb) HAVE_METAL being defined does not bake out OpenGL,

bake out Switchres (Linux/windows only)
This commit is contained in:
libretroadmin 2023-02-23 17:53:03 +01:00
parent 5e05f76e78
commit 3cad8ac834

View File

@ -244,13 +244,10 @@ check_platform Darwin METAL 'Metal is' true
if [ "$OS" = 'Darwin' ]; then
check_lib '' COREAUDIO "-framework AudioUnit" AudioUnitInitialize
check_lib '' CORETEXT "-framework CoreText" CTFontCreateWithName
add_opt CRTSWITCHRES no
if [ "$HAVE_METAL" = yes ]; then
check_lib '' COCOA_METAL "-framework AppKit" NSApplicationMain
add_opt OPENGL no
add_opt OPENGL1 no
add_opt OPENGL_CORE no
die : 'Notice: Metal cannot coexist with OpenGL (yet), so disabling OpenGL.'
else
check_lib '' COCOA "-framework AppKit" NSApplicationMain
fi