server: proxy: client use PIXEL_FORMAT_BGRA32 (easier to write frames to bitmap)

This commit is contained in:
kubistika 2019-10-22 16:01:00 +03:00 committed by akallabeth
parent bf2e1a33d0
commit 5e09ac9a7a

View File

@ -205,7 +205,7 @@ static BOOL pf_client_post_connect(freerdp* instance)
pc = (pClientContext*) context;
ps = (rdpContext*) pc->pdata->ps;
if (!gdi_init(instance, PIXEL_FORMAT_XRGB32))
if (!gdi_init(instance, PIXEL_FORMAT_BGRA32))
return FALSE;
if (!pf_register_pointer(context->graphics))