diff --git a/include/vk_mem_alloc.h b/include/vk_mem_alloc.h index f45a074..0e4a48b 100644 --- a/include/vk_mem_alloc.h +++ b/include/vk_mem_alloc.h @@ -15493,9 +15493,9 @@ VkResult VmaAllocator_T::AllocateDedicatedMemory( allocInfo.allocationSize = size; #if VMA_DEDICATED_ALLOCATION || VMA_VULKAN_VERSION >= 1001000 + VkMemoryDedicatedAllocateInfoKHR dedicatedAllocInfo = { VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO_KHR }; if(!canAliasMemory) { - VkMemoryDedicatedAllocateInfoKHR dedicatedAllocInfo = { VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO_KHR }; if(m_UseKhrDedicatedAllocation || m_VulkanApiVersion >= VK_MAKE_VERSION(1, 1, 0)) { if(dedicatedBuffer != VK_NULL_HANDLE)