[vlc-commits] [Git][videolan/vlc][master] direct3d11: fix pixel shader leak
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Sat Oct 16 12:38:41 UTC 2021
Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC
Commits:
06a7da1b by Steve Lhomme at 2021-10-16T12:25:08+00:00
direct3d11: fix pixel shader leak
Since 6b7a6d86ae30109bed34fec0b5ffc1f013ca4a81 the shaders are stored in a
ComPtr. Copying the value also adds a reference automatically.
- - - - -
1 changed file:
- modules/video_output/win32/direct3d11.cpp
Changes:
=====================================
modules/video_output/win32/direct3d11.cpp
=====================================
@@ -1370,7 +1370,6 @@ static int Direct3D11MapSubpicture(vout_display_t *vd, int *subpicture_region_co
if (sys->regionQuad.d3dpixelShader[j])
{
d3dquad->d3dpixelShader[j] = sys->regionQuad.d3dpixelShader[j];
- d3dquad->d3dpixelShader[j]->AddRef();
}
}
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/06a7da1b97684f0b6b538fabb93bd167ab640f63
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/06a7da1b97684f0b6b538fabb93bd167ab640f63
You're receiving this email because of your account on code.videolan.org.
More information about the vlc-commits
mailing list