mirror of
https://github.com/libretro/RetroArch
synced 2025-02-21 00:40:09 +00:00
(Apple/Makefile/Qb) HAVE_METAL being defined does not bake out OpenGL,
bake out Switchres (Linux/windows only)
This commit is contained in:
parent
5e05f76e78
commit
3cad8ac834
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user