You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Upgrade Vulkan memory allocator
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user