From a2a4a365a3ed5780beadacf27fe3232a10503a01 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 22 Feb 2016 12:33:42 +0100 Subject: [PATCH] We're able now to create a Vulkan build without any GL support whatsoever --- Makefile.common | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Makefile.common b/Makefile.common index a49f7125a4..89464772e1 100644 --- a/Makefile.common +++ b/Makefile.common @@ -361,8 +361,19 @@ ifeq ($(HAVE_NEON),1) OBJ += audio/audio_utils_neon.o endif +HW_CONTEXT_MENU_DRIVERS=$(HAVE_RGUI) + +ifeq ($(HW_CONTEXT_MENU_DRIVERS),0) +ifeq ($(HAVE_GL_CONTEXT),1) + HW_CONTEXT_MENU_DRIVERS=1 +endif +ifeq ($(HAVE_VULKAN),1) + HW_CONTEXT_MENU_DRIVERS=1 +endif +endif + # XMB and MaterialUI are always enabled if supported and not explicitly disabled -ifeq ($(HAVE_RGUI)$(HAVE_GL_CONTEXT), 11) +ifeq ($(HW_CONTEXT_MENU_DRIVERS), 1) ifeq ($(HAVE_ZARCH),) HAVE_ZARCH = 1 endif