[vlc-devel] [PATCH] vout: win32: assume DirectComposition is available to UWP apps

Steve Lhomme robux4 at ycbcr.xyz
Fri May 29 11:06:19 CEST 2020


---
 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 6b8072135397..a0f0ed7e256a 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>
 
-- 
2.26.2



More information about the vlc-devel mailing list