[vlc-commits] vout: win32: assume DirectComposition is available to UWP apps
Steve Lhomme
git at videolan.org
Wed Jun 3 14:36:18 CEST 2020
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri May 29 10:32:40 2020 +0200| [27bcd24bd6b15e3bd61a08f1634590d0b4d59870] | committer: Steve Lhomme
vout: win32: assume DirectComposition is available to UWP apps
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=27bcd24bd6b15e3bd61a08f1634590d0b4d59870
---
modules/video_output/win32/dcomp_wrapper.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/video_output/win32/dcomp_wrapper.cpp b/modules/video_output/win32/dcomp_wrapper.cpp
index 6b80721353..a0f0ed7e25 100644
--- a/modules/video_output/win32/dcomp_wrapper.cpp
+++ b/modules/video_output/win32/dcomp_wrapper.cpp
@@ -19,6 +19,9 @@
# include "config.h"
#endif
+#undef WINAPI_FAMILY
+#define WINAPI_FAMILY WINAPI_FAMILY_DESKTOP_APP
+
#include "dcomp_wrapper.h"
#include <dcomp.h>
More information about the vlc-commits
mailing list