[vlc-commits] [Git][videolan/vlc][master] direct3d11: fix winstore build

Steve Lhomme (@robUx4) gitlab at videolan.org
Tue Jul 20 11:41:10 UTC 2021



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
4c7b2517 by Steve Lhomme at 2021-07-20T11:17:07+00:00
direct3d11: fix winstore build

DEFINE_GUID in C++ resolves to an external C define but it won't exist in the
display module compiled in C++ in release builds.

- - - - -


1 changed file:

- modules/video_chroma/d3d11_fmt.c


Changes:

=====================================
modules/video_chroma/d3d11_fmt.c
=====================================
@@ -37,8 +37,8 @@
 #define COBJMACROS
 #include <d3d11.h>
 #include <assert.h>
+#include <initguid.h>
 #if !defined(NDEBUG) && defined(HAVE_DXGIDEBUG_H)
-# include <initguid.h>
 # include <dxgidebug.h>
 #endif
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/4c7b2517dc10066e8d119bb737729cc61d35c96d

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/4c7b2517dc10066e8d119bb737729cc61d35c96d
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list