[vlc-devel] [PATCH] direct3d11: fix compilation for Winstore

Steve Lhomme robux4 at videolabs.io
Tue Nov 21 15:03:37 CET 2017


---
 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 7883517079..d50b0e8ee3 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
-- 
2.14.2



More information about the vlc-devel mailing list