mirror of https://github.com/RPCS3/rpcs3.git
d3d12: Fix memleak
This commit is contained in:
parent
da328c078a
commit
8e9cdc5fea
|
@ -318,6 +318,7 @@ D3D12GSRender::D3D12GSRender()
|
||||||
|
|
||||||
D3D12GSRender::~D3D12GSRender()
|
D3D12GSRender::~D3D12GSRender()
|
||||||
{
|
{
|
||||||
|
m_texturesRTTs.clear();
|
||||||
m_dummyTexture->Release();
|
m_dummyTexture->Release();
|
||||||
m_convertPSO->Release();
|
m_convertPSO->Release();
|
||||||
m_convertRootSignature->Release();
|
m_convertRootSignature->Release();
|
||||||
|
@ -391,6 +392,7 @@ void D3D12GSRender::InitDrawBuffers()
|
||||||
|
|
||||||
m_texturesRTTs[m_fbo->m_address_color_a] = Texture;
|
m_texturesRTTs[m_fbo->m_address_color_a] = Texture;
|
||||||
m_fbo->m_address_color_a = address_a;
|
m_fbo->m_address_color_a = address_a;
|
||||||
|
m_perFrameStorage.m_inflightCommandList.push_back(copycmdlist);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue