mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-13 17:30:12 +00:00
Release swapchain resources when shutting down swapchain
This commit is contained in:
1 parent
8fd872525a
commit
1a4ccf775c
1 file changed
+2
@@ -227,6 +227,8 @@ WrappedIDXGISwapChain3::WrappedIDXGISwapChain3(IDXGISwapChain *real, HWND wnd, I
|
||||
|
||||
WrappedIDXGISwapChain3::~WrappedIDXGISwapChain3()
|
||||
{
|
||||
m_pDevice->ReleaseSwapchainResources(this);
|
||||
|
||||
m_pDevice->ShutdownSwapchain(this);
|
||||
|
||||
SAFE_RELEASE(m_pDevice);
|
||||
|
||||
Reference in new issue
Block a user