[vlc-commits] direct3d11: fix compilation for Winstore

Steve Lhomme git at videolan.org
Tue Nov 21 16:48:48 CET 2017


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Tue Nov 21 15:03:37 2017 +0100| [0ab53a3652fb341a084cd9e103c449f0f9eaa158] | committer: Jean-Baptiste Kempf

direct3d11: fix compilation for Winstore

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0ab53a3652fb341a084cd9e103c449f0f9eaa158
---

 modules/video_output/win32/direct3d11.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_output/win32/direct3d11.c b/modules/video_output/win32/direct3d11.c
index e862813e17..f390ed514c 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -1234,8 +1234,8 @@ static void Direct3D11Destroy(vout_display_t *vd)
     sys->OurD3DCompile = NULL;
     sys->hdxgi_dll = NULL;
     sys->hd3dcompiler_dll = NULL;
-#endif
     D3D11_Destroy( &vd->sys->hd3d );
+#endif
 }
 
 #if !VLC_WINSTORE_APP



More information about the vlc-commits mailing list