vlc | branch: master | Steve Lhomme <[email protected]> | Mon Apr 27 16:03:23 2020 +0200| [df432fb79ab2dcb8d4e9fa68eafa7d529f52dd7e] | committer: Steve Lhomme
d3d11: allow calling IsDebuggerPresent() in winstore builds It's allowed in win10. And we only call it in debug builds anyway. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=df432fb79ab2dcb8d4e9fa68eafa7d529f52dd7e --- modules/video_chroma/d3d11_fmt.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/video_chroma/d3d11_fmt.c b/modules/video_chroma/d3d11_fmt.c index 44ba5f7b74..90e6208044 100644 --- a/modules/video_chroma/d3d11_fmt.c +++ b/modules/video_chroma/d3d11_fmt.c @@ -389,9 +389,7 @@ static HRESULT CreateDevice(vlc_object_t *obj, d3d11_handle_t *hd3d, creationFlags |= D3D11_CREATE_DEVICE_VIDEO_SUPPORT; #if !defined(NDEBUG) -# if !VLC_WINSTORE_APP if (IsDebuggerPresent()) -# endif /* VLC_WINSTORE_APP */ { HINSTANCE sdklayer_dll = LoadLibrary(TEXT("d3d11_1sdklayers.dll")); if (sdklayer_dll) { _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
