]> git.sesse.net Git - vlc/commitdiff
direct3d11: D3D11_CREATE_DEVICE_DEBUG requires VisualStudio or Windows SDK
authorSteve Lhomme <robUx4@videolabs.io>
Mon, 23 Mar 2015 16:30:40 +0000 (17:30 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 23 Mar 2015 17:11:23 +0000 (18:11 +0100)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/video_output/msw/direct3d11.c

index b673e057c1fc3ba2a9e769dc7ab6d1cfb5a2aa18..5c147a41cd5a410663453b0132b8188414eb5e9a 100644 (file)
@@ -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