Fix VmaAllocator_T::AllocateDedicatedMemory to make it compiling with Vulkan SDK 1.1.130.0 (linux)

Closes #104
This commit is contained in:
Adam Sawicki 2020-03-23 15:42:55 +01:00
parent 854b25df0d
commit 77b55b38f4

View File

@ -15631,7 +15631,7 @@ VkResult VmaAllocator_T::AllocateDedicatedMemory(
}
if(canContainBufferWithDeviceAddress)
{
allocFlagsInfo.flags = VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_BIT;
allocFlagsInfo.flags = VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_BIT_KHR;
VmaPnextChainPushFront(&allocInfo, &allocFlagsInfo);
}
}