Merge pull request #4872 from akallabeth/sw_gdi_default

Fix #4851: Software GDI is now default
This commit is contained in:
Martin Fleisz 2018-09-21 13:02:39 +02:00 committed by GitHub
commit 2096c1108e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 2 deletions

View File

@ -881,7 +881,6 @@ BOOL mac_pre_connect(freerdp* instance)
return -1;
}
settings->SoftwareGdi = TRUE;
settings->OsMajorType = OSMAJORTYPE_MACINTOSH;
settings->OsMinorType = OSMINORTYPE_MACINTOSH;
ZeroMemory(settings->OrderSupport, 32);

View File

@ -132,7 +132,6 @@ static BOOL wl_pre_connect(freerdp* instance)
settings->OsMajorType = OSMAJORTYPE_UNIX;
settings->OsMinorType = OSMINORTYPE_NATIVE_WAYLAND;
settings->SoftwareGdi = TRUE;
ZeroMemory(settings->OrderSupport, 32);
settings->OrderSupport[NEG_DSTBLT_INDEX] = TRUE;
settings->OrderSupport[NEG_PATBLT_INDEX] = TRUE;

View File

@ -321,6 +321,7 @@ rdpSettings* freerdp_settings_new(DWORD flags)
settings->ToggleFullscreen = TRUE;
settings->DesktopPosX = 0;
settings->DesktopPosY = 0;
settings->SoftwareGdi = TRUE;
settings->UnmapButtons = FALSE;
settings->PerformanceFlags = PERF_FLAG_NONE;
settings->AllowFontSmoothing = FALSE;