1
0
mirror of https://github.com/libretro/RetroArch synced 2024-07-05 09:48:42 +00:00

allow --disable-vulkan on Windows

This commit is contained in:
Brad Parker 2017-01-16 15:06:46 -05:00
parent 8aba35ef00
commit 99508cfd64
2 changed files with 6 additions and 2 deletions

View File

@ -441,8 +441,11 @@ ifeq ($(HAVE_NEON),1)
endif
ifneq ($(findstring Win32,$(OS)),)
HAVE_VULKAN=1
DEFINES += -DHAVE_VULKAN
# if user explicitly sets --disable-vulkan on Windows, then disable it
ifneq ($(HAVE_NO_VULKAN),1)
HAVE_VULKAN=1
DEFINES += -DHAVE_VULKAN
endif
endif
HW_CONTEXT_MENU_DRIVERS=$(HAVE_RGUI)

View File

@ -72,6 +72,7 @@ parse_input() # Parse stuff :V
--disable-*)
opt_exists "${1##--disable-}" "$1"
eval "HAVE_$opt=no"
eval "HAVE_NO_$opt=yes"
;;
--with-*)
arg="${1##--with-}"