From 7b7e17a626392aee0850889e3487b282f0bbc9b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20J=2E=20Est=C3=A9banez?= Date: Fri, 13 Aug 2021 00:02:20 +0200 Subject: Upgrade Vulkan memory allocator --- drivers/vulkan/SCsub | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'drivers/vulkan/SCsub') diff --git a/drivers/vulkan/SCsub b/drivers/vulkan/SCsub index ab45863f5b..8fe75367a8 100644 --- a/drivers/vulkan/SCsub +++ b/drivers/vulkan/SCsub @@ -36,6 +36,10 @@ if env["use_volk"]: thirdparty_sources_volk = [thirdparty_volk_dir + "/volk.c"] env_thirdparty_volk.add_source_files(thirdparty_obj, thirdparty_sources_volk) +elif env["platform"] == "android": + # Our current NDK version only provides old Vulkan headers, + # so we have to limit VMA. + env_thirdparty_vma.AppendUnique(CPPDEFINES=["VMA_VULKAN_VERSION=1000000"]) env_thirdparty_vma.add_source_files(thirdparty_obj, thirdparty_sources_vma) -- cgit v1.2.3