No more shared pointers

This commit is contained in:
Dynamitos committed 2023-11-01 23:12:30 +01:00
1 parent 5a9cb13e74
commit 4746c0f838
69 files changed
+524 -681

No files matched your search

+1 -3
View File
@@ -20,9 +20,7 @@ void DescriptorLayout::addDescriptorBinding(uint32 bindingIndex, SeDescriptorTyp
PDescriptorSet DescriptorLayout::allocateDescriptorSet()
{
std::scoped_lock lock(allocatorLock);
PDescriptorSet result;
allocator->allocateDescriptorSet(result);
return result;
return allocator->allocateDescriptorSet();
}
void DescriptorLayout::reset()