d3d12: Fix memleak

This commit is contained in:
vlj
2015-05-29 17:16:14 +02:00
committed by Vincent Lejeune
parent da328c078a
commit 8e9cdc5fea
+2
View File
@@ -318,6 +318,7 @@ D3D12GSRender::D3D12GSRender()
D3D12GSRender::~D3D12GSRender()
{
m_texturesRTTs.clear();
m_dummyTexture->Release();
m_convertPSO->Release();
m_convertRootSignature->Release();
@@ -391,6 +392,7 @@ void D3D12GSRender::InitDrawBuffers()
m_texturesRTTs[m_fbo->m_address_color_a] = Texture;
m_fbo->m_address_color_a = address_a;
m_perFrameStorage.m_inflightCommandList.push_back(copycmdlist);
}
}