[vlc-devel] [PATCH] vout: win32: assume DirectComposition is available to UWP apps
Rémi Denis-Courmont
remi at remlab.net
Fri May 29 18:19:08 CEST 2020
Le perjantaina 29. toukokuuta 2020, 12.06.19 EEST Steve Lhomme a écrit :
> ---
> 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>
Might this not wreck system headers not expecting the value to change mid-
module?
--
レミ・デニ-クールモン
http://www.remlab.net/
More information about the vlc-devel
mailing list