From 23c8a31d69d253a8b86bed754a987f9acfcb1adb Mon Sep 17 00:00:00 2001 From: orbea Date: Sun, 6 Jan 2019 22:13:15 -0800 Subject: [PATCH] qb: Improve menu check without opengl, opengles or vulkan. --- qb/config.libs.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/qb/config.libs.sh b/qb/config.libs.sh index 930d38485e..a890b1410a 100644 --- a/qb/config.libs.sh +++ b/qb/config.libs.sh @@ -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