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

Steve Lhomme git at videolan.org
Mon Mar 23 18:11:57 CET 2015


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Mon Mar 23 17:30:40 2015 +0100| [60257a8a580024506c3ac533a2ac99119fa9a2b8] | committer: Jean-Baptiste Kempf

direct3d11: D3D11_CREATE_DEVICE_DEBUG requires VisualStudio or Windows SDK

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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 b673e05..5c147a4 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
 



More information about the vlc-commits mailing list