mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2024-11-10 10:41:52 +00:00
Fix VmaAllocator_T::AllocateDedicatedMemory to make it compiling with Vulkan SDK 1.1.130.0 (linux)
Closes #104
This commit is contained in:
parent
854b25df0d
commit
77b55b38f4
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user