Fix erronous use of colors in gdi_patblt().
* libfreerdp/gdi/gdi.c: (gdi_patblt): Fix a call to freerdp_mono_image_convert() which was still passed colors in drawing order representation instead of GDI representation.
This commit is contained in:
parent
eab69c2984
commit
651887c7e0
@ -517,7 +517,7 @@ void gdi_patblt(rdpContext* context, PATBLT_ORDER* patblt)
|
||||
HGDI_BITMAP hBmp;
|
||||
|
||||
data = freerdp_mono_image_convert(GDI_BS_HATCHED_PATTERNS + 8 * brush->hatch, 8, 8, 1,
|
||||
gdi->dstBpp, patblt->backColor, patblt->foreColor, gdi->clrconv);
|
||||
gdi->dstBpp, backColor, foreColor, gdi->clrconv);
|
||||
|
||||
hBmp = gdi_CreateBitmap(8, 8, gdi->drawing->hdc->bitsPerPixel, data);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user