qb: Improve menu check without opengl, opengles or vulkan.

This commit is contained in:
orbea 2019-01-06 22:13:15 -08:00
parent 459a19be57
commit 23c8a31d69

View File

@ -578,18 +578,20 @@ if [ "$HAVE_MENU" != 'no' ]; then
if [ "$OS" = 'Win32' ]; then
HAVE_SHADERPIPELINE=no
HAVE_VULKAN=no
die : 'Notice: Hardware rendering context not available.'
elif [ "$HAVE_CACA" = 'yes' ] || [ "$HAVE_SIXEL" = 'yes' ]; then
die : 'Notice: Hardware rendering context not available.'
else
if [ "$HAVE_CACA" != 'yes' ] && [ "$HAVE_SIXEL" != 'yes' ] &&
[ "$HAVE_SDL" != 'yes' ] && [ "$HAVE_SDL2" != 'yes' ]; then
HAVE_MENU=no
HAVE_RGUI=no
fi
HAVE_MATERIALUI=no
HAVE_OZONE=no
HAVE_XMB=no
HAVE_NUKLEAR=no
HAVE_STRIPES=no
HAVE_ZARCH=no
die : 'Notice: Hardware rendering context not available, menu drivers will also be disabled.'
fi
die : 'Notice: Hardware rendering context not available.'
fi
fi