[vlc-devel] [vlc-commits] vout: msw: Handle the swapchain for Direct3D only

Steve Lhomme robux4 at gmail.com
Wed Mar 30 08:51:38 CEST 2016


On Tue, Mar 29, 2016 at 3:05 PM, Hugo Beauzée-Luyssen <git at videolan.org> wrote:
> 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

You mean Direct3D11 or the code is wrong ?

>> 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;
>
> _______________________________________________
> vlc-commits mailing list
> vlc-commits at videolan.org
> https://mailman.videolan.org/listinfo/vlc-commits


More information about the vlc-devel mailing list