We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 023976a commit 5f94eaeCopy full SHA for 5f94eae
1 file changed
src/vk_mem_alloc.h
@@ -15857,7 +15857,7 @@ VkResult VmaAllocator_T::AllocateVulkanMemory(const VkMemoryAllocateInfo* pAlloc
15857
{
15858
return VK_ERROR_OUT_OF_DEVICE_MEMORY;
15859
}
15860
- if(m_Budget.m_BlockBytes->compare_exchange_strong(blockBytes, blockBytesAfterAllocation))
+ if(m_Budget.m_BlockBytes[heapIndex].compare_exchange_strong(blockBytes, blockBytesAfterAllocation))
15861
15862
break;
15863
0 commit comments