From 57b58df80644f142067a489640edc40f006329a7 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Wed, 13 Jan 2021 16:09:07 +0100 Subject: [PATCH] Fix color fidelity issues with windows 7 --- libfreerdp/core/settings.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libfreerdp/core/settings.c b/libfreerdp/core/settings.c index 1bcba6ec1..f05cb1e38 100644 --- a/libfreerdp/core/settings.c +++ b/libfreerdp/core/settings.c @@ -415,7 +415,9 @@ rdpSettings* freerdp_settings_new(DWORD flags) settings->DrawGdiPlusEnabled = FALSE; settings->DrawAllowSkipAlpha = TRUE; settings->DrawAllowColorSubsampling = TRUE; - settings->DrawAllowDynamicColorFidelity = TRUE; + /* [MS-RDPEGDI] 3.1.9.1.2 Color Space Conversion states that MS servers + * send invalid YCoCg data if this flag is set, deactivate. */ + settings->DrawAllowDynamicColorFidelity = FALSE; settings->FrameMarkerCommandEnabled = TRUE; settings->SurfaceFrameMarkerEnabled = TRUE; settings->AllowCacheWaitingList = TRUE;