xfreerdp: patblt fix, set stipple before drawing the rect

This commit is contained in:
Anthony Tong 2011-12-21 18:51:22 -05:00
parent 3ad37ad461
commit b455455365

View File

@ -356,12 +356,11 @@ void xf_gdi_patblt(rdpContext* context, PATBLT_ORDER* patblt)
XSetForeground(xfi->display, xfi->gc, backColor);
XSetBackground(xfi->display, xfi->gc, foreColor);
XSetFillStyle(xfi->display, xfi->gc, FillOpaqueStippled);
XSetStipple(xfi->display, xfi->gc, pattern);
XSetTSOrigin(xfi->display, xfi->gc, brush->x, brush->y);
XFillRectangle(xfi->display, xfi->drawing, xfi->gc,
patblt->nLeftRect, patblt->nTopRect, patblt->nWidth, patblt->nHeight);
XSetStipple(xfi->display, xfi->gc_mono, pattern);
}
}
else