From 493b7372bd616b44e07e17ed98d6b1270137d29a Mon Sep 17 00:00:00 2001 From: Brad Parker Date: Mon, 16 Jan 2017 16:53:19 -0500 Subject: [PATCH] only disable glui/xmb/zarch if GL/ES/Vulkan AND libcaca is not enabled --- qb/config.libs.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/qb/config.libs.sh b/qb/config.libs.sh index d20d7efe1b..f000fe40b4 100644 --- a/qb/config.libs.sh +++ b/qb/config.libs.sh @@ -459,10 +459,14 @@ if [ "$HAVE_MATERIALUI" != 'no' ] || [ "$HAVE_XMB" != 'no' ] || [ "$HAVE_ZARCH" HAVE_VULKAN=no echo "Notice: Hardware rendering context not available." else - HAVE_MATERIALUI=no - HAVE_XMB=no - HAVE_ZARCH=no - echo "Notice: Hardware rendering context not available, XMB, MaterialUI and ZARCH will also be disabled." + if [ "$HAVE_CACA" = 'yes' ]; then + echo "Notice: Hardware rendering context not available." + else + HAVE_MATERIALUI=no + HAVE_XMB=no + HAVE_ZARCH=no + echo "Notice: Hardware rendering context not available, XMB, MaterialUI and ZARCH will also be disabled." + fi fi fi fi