[vlc-commits] d3d11_fmt: Fix release builds
Hugo Beauzée-Luyssen
git at videolan.org
Tue Mar 24 15:22:15 CET 2020
vlc/vlc-3.0 | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Mar 24 15:02:59 2020 +0100| [9928bd80b7c9662fb07a8bd804d4b97c6ffcc1ca] | committer: Hugo Beauzée-Luyssen
d3d11_fmt: Fix release builds
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=9928bd80b7c9662fb07a8bd804d4b97c6ffcc1ca
---
modules/video_chroma/d3d11_fmt.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/video_chroma/d3d11_fmt.c b/modules/video_chroma/d3d11_fmt.c
index 3821ca55ce..4a42e29d04 100644
--- a/modules/video_chroma/d3d11_fmt.c
+++ b/modules/video_chroma/d3d11_fmt.c
@@ -684,7 +684,9 @@ static HINSTANCE Direct3D11LoadShaderLibrary(void)
int D3D11_Create(vlc_object_t *obj, d3d11_handle_t *hd3d, bool with_shaders)
{
#if !VLC_WINSTORE_APP
+#if !defined(NDEBUG) && defined(HAVE_DXGIDEBUG_H)
hd3d->dxgidebug_dll = NULL;
+#endif
hd3d->hdll = LoadLibrary(TEXT("D3D11.DLL"));
if (!hd3d->hdll)
{
More information about the vlc-commits
mailing list