vlc | branch: master | Steve Lhomme <[email protected]> | 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>
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to