diff --git a/Makefile.common b/Makefile.common index e3e3d219ae..15374c1dca 100644 --- a/Makefile.common +++ b/Makefile.common @@ -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) diff --git a/qb/qb.params.sh b/qb/qb.params.sh index 3964fe26fb..4b822298a8 100644 --- a/qb/qb.params.sh +++ b/qb/qb.params.sh @@ -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-}"