From 3cad8ac834c0c60cb6224adf3d569250d8c1e3fc Mon Sep 17 00:00:00 2001 From: libretroadmin Date: Thu, 23 Feb 2023 17:53:03 +0100 Subject: [PATCH] (Apple/Makefile/Qb) HAVE_METAL being defined does not bake out OpenGL, bake out Switchres (Linux/windows only) --- qb/config.libs.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/qb/config.libs.sh b/qb/config.libs.sh index c3fbefc6b3..262d87b1b7 100644 --- a/qb/config.libs.sh +++ b/qb/config.libs.sh @@ -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