diff options
author | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2021-08-13 00:02:20 +0200 |
---|---|---|
committer | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2021-08-13 00:05:41 +0200 |
commit | 7b7e17a626392aee0850889e3487b282f0bbc9b6 (patch) | |
tree | aa5b201de2b668679786e6454e9feec955b78377 /drivers/vulkan/SCsub | |
parent | 554312a3b2aeb6d4080912064658d755991228d5 (diff) |
Upgrade Vulkan memory allocator
Diffstat (limited to 'drivers/vulkan/SCsub')
-rw-r--r-- | drivers/vulkan/SCsub | 4 |
1 files changed, 4 insertions, 0 deletions
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) |