mirror of
https://github.com/PabloMK7/citra
synced 2024-11-15 05:08:23 +00:00
renderer_vulkan: Pass physical device API version to VMA instead of instance version. (#7390)
This commit is contained in:
parent
1744537d85
commit
41fe75acb7
1 changed files with 1 additions and 1 deletions
|
@ -629,7 +629,7 @@ void Instance::CreateAllocator() {
|
||||||
.device = *device,
|
.device = *device,
|
||||||
.pVulkanFunctions = &functions,
|
.pVulkanFunctions = &functions,
|
||||||
.instance = *instance,
|
.instance = *instance,
|
||||||
.vulkanApiVersion = vk::enumerateInstanceVersion(),
|
.vulkanApiVersion = properties.apiVersion,
|
||||||
};
|
};
|
||||||
|
|
||||||
const VkResult result = vmaCreateAllocator(&allocator_info, &allocator);
|
const VkResult result = vmaCreateAllocator(&allocator_info, &allocator);
|
||||||
|
|
Loading…
Reference in a new issue