mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-05 08:57:38 +00:00
Merge pull request #6020 from orbea/vulkan
Makefile.common: Don't enable vulkan if the user disabled it.
This commit is contained in:
commit
ed53542b8b
@ -686,14 +686,6 @@ ifeq ($(HAVE_NEON),1)
|
||||
$(LIBRETRO_COMM_DIR)/audio/conversion/float_to_s16_neon.o
|
||||
endif
|
||||
|
||||
ifneq ($(findstring Win32,$(OS)),)
|
||||
# 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)
|
||||
|
||||
ifeq ($(HW_CONTEXT_MENU_DRIVERS),0)
|
||||
|
@ -436,7 +436,12 @@ fi
|
||||
|
||||
check_lib '' STRCASESTR "$CLIB" strcasestr
|
||||
check_lib '' MMAP "$CLIB" mmap
|
||||
check_lib '' VULKAN -lvulkan vkCreateInstance
|
||||
|
||||
if [ "$HAVE_VULKAN" != "no" ] && [ "$OS" = 'Win32' ]; then
|
||||
HAVE_VULKAN=yes
|
||||
else
|
||||
check_lib '' VULKAN -lvulkan vkCreateInstance
|
||||
fi
|
||||
|
||||
check_pkgconf PYTHON python3
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user