mirror of
https://github.com/libretro/RetroArch
synced 2025-03-20 01:21:03 +00:00
allow --disable-vulkan on Windows
This commit is contained in:
parent
8aba35ef00
commit
99508cfd64
@ -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)
|
||||
|
@ -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-}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user