Skip to content

Commit

Permalink
(Apple/Makefile/Qb) HAVE_METAL being defined does not bake out OpenGL,
Browse files Browse the repository at this point in the history
bake out Switchres (Linux/windows only)
  • Loading branch information
LibretroAdmin committed Feb 23, 2023
1 parent 5e05f76 commit 3cad8ac
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions qb/config.libs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3cad8ac

Please sign in to comment.