[vlc-commits] vout: msw: Handle the swapchain for Direct3D only
Hugo Beauzée-Luyssen
git at videolan.org
Tue Mar 29 15:05:16 CEST 2016
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Mar 29 11:50:57 2016 +0200| [2ea46a28c4b00913e16d4ae82d064965e21151ea] | committer: Hugo Beauzée-Luyssen
vout: msw: Handle the swapchain for Direct3D only
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2ea46a28c4b00913e16d4ae82d064965e21151ea
---
modules/video_output/msw/common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_output/msw/common.c b/modules/video_output/msw/common.c
index ad8d294..4c880fa 100644
--- a/modules/video_output/msw/common.c
+++ b/modules/video_output/msw/common.c
@@ -147,7 +147,7 @@ void UpdateRects(vout_display_t *vd,
source = &vd->source;
/* Retrieve the window size */
-#if VLC_WINSTORE_APP
+#if VLC_WINSTORE_APP && MODULE_NAME_IS_direct3d11
rect.left = 0;
rect.top = 0;
uint32_t i_width;
More information about the vlc-commits
mailing list