mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 17:40:39 +00:00
Release swapchain resources when shutting down swapchain
This commit is contained in:
@@ -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