Commit 04c370c2 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

dxva2: fix interface leak

We don't need to get this one, we already hold a reference from calling
IDirect3DSurface9_GetDevice().

Close #18849
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent c63c6b53
......@@ -330,7 +330,6 @@ static int D3dCreateDevice(vlc_va_t *va)
if (sys->dx_sys.d3ddev) {
msg_Dbg(va, "Reusing Direct3D9 device");
IDirect3DDevice9_AddRef(sys->dx_sys.d3ddev);
return VLC_SUCCESS;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment