Skip to content
Snippets Groups Projects
Commit 0beccb1a authored by Sebastian Gaida's avatar Sebastian Gaida
Browse files

[#89] destroy descriptorset by reference not a copy

parent a74bbb3a
No related branches found
No related tags found
1 merge request!90Resolve "Mehrere Fenster, Abhängigkeiten von Core zu Fenster+Swapchain etc"
Pipeline #26995 passed
......@@ -301,7 +301,7 @@ namespace vkcv
return;
}
auto layout = m_DescriptorSetLayouts[id];
auto& layout = m_DescriptorSetLayouts[id];
if (layout.vulkanHandle){
m_Device.destroy(layout.vulkanHandle);
layout.vulkanHandle = nullptr;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment