summaryrefslogtreecommitdiffstats
path: root/drivers/vulkan/rendering_device_vulkan.cpp
diff options
context:
space:
mode:
authorPedro J. Estébanez <pedrojrulez@gmail.com>2021-08-13 00:02:20 +0200
committerPedro J. Estébanez <pedrojrulez@gmail.com>2021-08-13 00:05:41 +0200
commit7b7e17a626392aee0850889e3487b282f0bbc9b6 (patch)
treeaa5b201de2b668679786e6454e9feec955b78377 /drivers/vulkan/rendering_device_vulkan.cpp
parent554312a3b2aeb6d4080912064658d755991228d5 (diff)
downloadredot-engine-7b7e17a626392aee0850889e3487b282f0bbc9b6.tar.gz
Upgrade Vulkan memory allocator
Diffstat (limited to 'drivers/vulkan/rendering_device_vulkan.cpp')
-rw-r--r--drivers/vulkan/rendering_device_vulkan.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/vulkan/rendering_device_vulkan.cpp b/drivers/vulkan/rendering_device_vulkan.cpp
index f6677e2da4..dbe932f74c 100644
--- a/drivers/vulkan/rendering_device_vulkan.cpp
+++ b/drivers/vulkan/rendering_device_vulkan.cpp
@@ -8794,6 +8794,7 @@ void RenderingDeviceVulkan::initialize(VulkanContext *p_context, bool p_local_de
memset(&allocatorInfo, 0, sizeof(VmaAllocatorCreateInfo));
allocatorInfo.physicalDevice = p_context->get_physical_device();
allocatorInfo.device = device;
+ allocatorInfo.instance = p_context->get_instance();
vmaCreateAllocator(&allocatorInfo, &allocator);
}