[vlc-commits] direct3d11: always initialize DXGI debug fields

Steve Lhomme git at videolan.org
Mon Feb 3 10:39:59 CET 2020


vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Nov 22 14:33:51 2018 +0100| [094c41bdd81577c4e2d4a4ead63121df1929c47f] | committer: Steve Lhomme

direct3d11: always initialize DXGI debug fields

(cherry picked from commit 94ab4cda9e8fa129f85c52eb38cea699018b51d7)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=094c41bdd81577c4e2d4a4ead63121df1929c47f
---

 modules/video_chroma/d3d11_fmt.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/video_chroma/d3d11_fmt.c b/modules/video_chroma/d3d11_fmt.c
index c8f5928fbc..3821ca55ce 100644
--- a/modules/video_chroma/d3d11_fmt.c
+++ b/modules/video_chroma/d3d11_fmt.c
@@ -684,6 +684,7 @@ static HINSTANCE Direct3D11LoadShaderLibrary(void)
 int D3D11_Create(vlc_object_t *obj, d3d11_handle_t *hd3d, bool with_shaders)
 {
 #if !VLC_WINSTORE_APP
+    hd3d->dxgidebug_dll = NULL;
     hd3d->hdll = LoadLibrary(TEXT("D3D11.DLL"));
     if (!hd3d->hdll)
     {



More information about the vlc-commits mailing list