[vlc-devel] [PATCH] direct3d11: D3D11_CREATE_DEVICE_DEBUG requires VisualStudio or Windows SDK

Hugo Beauzée-Luyssen hugo at beauzee.fr
Mon Mar 23 16:52:05 CET 2015


On Mon, Mar 23, 2015, at 04:17 PM, Steve Lhomme wrote:
> disable the flag by default
> ---
>  modules/video_output/msw/direct3d11.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/modules/video_output/msw/direct3d11.c
> b/modules/video_output/msw/direct3d11.c
> index 042f317..9683b56 100644
> --- a/modules/video_output/msw/direct3d11.c
> +++ b/modules/video_output/msw/direct3d11.c
> @@ -449,7 +449,7 @@ static int Direct3D11Open(vout_display_t *vd,
> video_format_t *fmt)
>          D3D_FEATURE_LEVEL_9_1
>      };
>  
> -# ifndef NDEBUG
> +# if 0 //ndef NDEBUG
>      creationFlags |= D3D11_CREATE_DEVICE_DEBUG;
>  # endif
>  
> -- 
> 2.3.2
> 

Can't _MSC_VER do the trick?

Regards,

-- 
  Hugo Beauzée-Luyssen
  hugo at beauzee.fr



More information about the vlc-devel mailing list