Commit 60257a8a authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

direct3d11: D3D11_CREATE_DEVICE_DEBUG requires VisualStudio or Windows SDK

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 224bc271
...@@ -450,7 +450,7 @@ static int Direct3D11Open(vout_display_t *vd, video_format_t *fmt) ...@@ -450,7 +450,7 @@ static int Direct3D11Open(vout_display_t *vd, video_format_t *fmt)
D3D_FEATURE_LEVEL_9_1 D3D_FEATURE_LEVEL_9_1
}; };
# ifndef NDEBUG # if !defined(NDEBUG) && defined(_MSC_VER)
creationFlags |= D3D11_CREATE_DEVICE_DEBUG; creationFlags |= D3D11_CREATE_DEVICE_DEBUG;
# endif # endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment