From 60257a8a580024506c3ac533a2ac99119fa9a2b8 Mon Sep 17 00:00:00 2001 From: Steve Lhomme Date: Mon, 23 Mar 2015 17:30:40 +0100 Subject: [PATCH] direct3d11: D3D11_CREATE_DEVICE_DEBUG requires VisualStudio or Windows SDK Signed-off-by: Jean-Baptiste Kempf --- 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 b673e057c1..5c147a41cd 100644 --- a/modules/video_output/msw/direct3d11.c +++ b/modules/video_output/msw/direct3d11.c @@ -450,7 +450,7 @@ static int Direct3D11Open(vout_display_t *vd, video_format_t *fmt) D3D_FEATURE_LEVEL_9_1 }; -# ifndef NDEBUG +# if !defined(NDEBUG) && defined(_MSC_VER) creationFlags |= D3D11_CREATE_DEVICE_DEBUG; # endif -- 2.39.2