mirror of https://code.videolan.org/videolan/vlc
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:
parent
c9c8bb77aa
commit
b8e1ef211c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue