No more shared pointers
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user