d3d11_fmt: release the debug interface we queried

The doc doesn't say we have to release it but it makes sense. If it was received
by a ComPtr it would be.
This commit is contained in:
Steve Lhomme 2022-01-07 15:37:44 +01:00 committed by François Cartegnie
parent c9c8bb77aa
commit b8e1ef211c
1 changed files with 1 additions and 0 deletions

View File

@ -918,6 +918,7 @@ void D3D11_LogResources(d3d11_decoder_device_t *dev_sys)
{
IDXGIDebug *pDXGIDebug = pv;
IDXGIDebug_ReportLiveObjects(pDXGIDebug, DXGI_DEBUG_ALL, DXGI_DEBUG_RLO_ALL);
IDXGIDebug_Release(pDXGIDebug);
}
}
# endif