Fixing memory leak with RefPtr
This commit is contained in:
@@ -149,7 +149,7 @@ void DescriptorSet::writeChanges()
|
||||
}
|
||||
}
|
||||
|
||||
DescriptorAllocator::DescriptorAllocator(WGraphics graphics, DescriptorLayout& layout)
|
||||
DescriptorAllocator::DescriptorAllocator(PGraphics graphics, DescriptorLayout& layout)
|
||||
: layout(layout)
|
||||
, graphics(graphics)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user