mirror of https://github.com/FreeRDP/FreeRDP
libfreerdp-gdi: fix mem3blt color conversion
This commit is contained in:
parent
ea8c9956d2
commit
7fbdf13a61
|
@ -673,8 +673,8 @@ void gdi_mem3blt(rdpContext* context, MEM3BLT_ORDER* mem3blt)
|
||||||
brush = &mem3blt->brush;
|
brush = &mem3blt->brush;
|
||||||
bitmap = (gdiBitmap*) mem3blt->bitmap;
|
bitmap = (gdiBitmap*) mem3blt->bitmap;
|
||||||
|
|
||||||
foreColor = freerdp_color_convert_rgb(mem3blt->foreColor, gdi->srcBpp, 32, gdi->clrconv);
|
foreColor = freerdp_color_convert_var_bgr(mem3blt->foreColor, gdi->srcBpp, 32, gdi->clrconv);
|
||||||
backColor = freerdp_color_convert_rgb(mem3blt->backColor, gdi->srcBpp, 32, gdi->clrconv);
|
backColor = freerdp_color_convert_var_bgr(mem3blt->backColor, gdi->srcBpp, 32, gdi->clrconv);
|
||||||
|
|
||||||
if (brush->style == GDI_BS_SOLID)
|
if (brush->style == GDI_BS_SOLID)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue