citra-emu
/
citra
Archived
1
0
Fork 0

renderer_vulkan: Pass physical device API version to VMA instead of instance version. (#7390)

This commit is contained in:
Steveice10 2024-01-26 06:34:12 -08:00 committed by GitHub
parent 1744537d85
commit 41fe75acb7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -629,7 +629,7 @@ void Instance::CreateAllocator() {
.device = *device,
.pVulkanFunctions = &functions,
.instance = *instance,
.vulkanApiVersion = vk::enumerateInstanceVersion(),
.vulkanApiVersion = properties.apiVersion,
};
const VkResult result = vmaCreateAllocator(&allocator_info, &allocator);