Something causing an infinite recursion...

This commit is contained in:
Dynamitos committed 2021-11-08 15:39:46 +01:00
1 parent 97dcf25a59
commit 6708b08d23
2 files changed
+156 -145

No files matched your search

@@ -124,7 +124,7 @@ PSubAllocation Allocation::getSuballocation(VkDeviceSize requestedSize, VkDevice
void Allocation::markFree(SubAllocation *allocation)
{
// Dont free if it is already a free allocation, since they also mark themselves on deletion
if (freeRanges.find(allocation->allocatedOffset) != nullptr)
if (freeRanges.find(allocation->allocatedOffset) != freeRanges.end())
{
return;
}