[vlc-commits] direct3d11: make sure we don't use a HWND with the internal Swapchain in UWP

Steve Lhomme git at videolan.org
Fri May 10 09:07:14 CEST 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri May 10 08:29:18 2019 +0200| [e026d7223e7abb1bb53b7a354a03f06b908e2fb8] | committer: Steve Lhomme

direct3d11: make sure we don't use a HWND with the internal Swapchain in UWP

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

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

diff --git a/modules/video_output/win32/direct3d11.c b/modules/video_output/win32/direct3d11.c
index 035adf7e8a..b67c5f8046 100644
--- a/modules/video_output/win32/direct3d11.c
+++ b/modules/video_output/win32/direct3d11.c
@@ -112,7 +112,9 @@ struct d3d11_local_swapchain
     const d3d_format_t     *pixelFormat;
     const dxgi_color_space *colorspace;
 
+#if !VLC_WINSTORE_APP
     HWND                   swapchainHwnd;
+#endif /* !VLC_WINSTORE_APP */
     IDXGISwapChain1        *dxgiswapChain;   /* DXGI 1.2 swap chain */
     IDXGISwapChain4        *dxgiswapChain4;  /* DXGI 1.5 for HDR metadata */
 



More information about the vlc-commits mailing list