mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 17:40:39 +00:00
Fixed the removal of the device frame capturer in vkDestroyInstance.
This commit is contained in:
committed by
Baldur Karlsson
parent
6e152884ce
commit
e7dec9e5ae
@@ -573,10 +573,9 @@ void WrappedVulkan::vkDestroyInstance(VkInstance instance, const VkAllocationCal
|
||||
// application is well behaved. If not, we just leak.
|
||||
|
||||
ObjDisp(m_Instance)->DestroyInstance(Unwrap(m_Instance), NULL);
|
||||
GetResourceManager()->ReleaseWrappedResource(m_Instance);
|
||||
|
||||
RenderDoc::Inst().RemoveDeviceFrameCapturer(LayerDisp(m_Instance));
|
||||
|
||||
GetResourceManager()->ReleaseWrappedResource(m_Instance);
|
||||
m_Instance = VK_NULL_HANDLE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user