Fixes leaks in ResourceCache, Vulkan and X11
This commit is contained in:
parent
84142f6a5f
commit
943ec79859
4 changed files with 21 additions and 1 deletions
|
|
@ -7274,6 +7274,11 @@ void RenderingDeviceVulkan::finalize() {
|
|||
vertex_formats.erase(temp);
|
||||
}
|
||||
|
||||
for (int i = 0; i < framebuffer_formats.size(); i++) {
|
||||
vkDestroyRenderPass(device, framebuffer_formats[i].render_pass, nullptr);
|
||||
}
|
||||
framebuffer_formats.clear();
|
||||
|
||||
//all these should be clear at this point
|
||||
ERR_FAIL_COND(descriptor_pools.size());
|
||||
ERR_FAIL_COND(dependency_map.size());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue