mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
exaPolyFillRect: pGC->alu doesn't matter with a single rectangle.
This commit is contained in:
@@ -702,8 +702,9 @@ exaPolyFillRect(DrawablePtr pDrawable,
|
||||
* call exaFillRegion{Solid,Tiled}.
|
||||
*/
|
||||
if ((pGC->fillStyle == FillSolid || pGC->fillStyle == FillTiled) &&
|
||||
(pGC->alu == GXcopy || pGC->alu == GXclear || pGC->alu == GXnoop ||
|
||||
pGC->alu == GXcopyInverted || pGC->alu == GXset)) {
|
||||
(nrect == 1 || pGC->alu == GXcopy || pGC->alu == GXclear ||
|
||||
pGC->alu == GXnoop || pGC->alu == GXcopyInverted ||
|
||||
pGC->alu == GXset)) {
|
||||
if (((pGC->fillStyle == FillSolid || pGC->tileIsPixel) &&
|
||||
exaFillRegionSolid(pDrawable, pReg, pGC->fillStyle == FillSolid ?
|
||||
pGC->fgPixel : pGC->tile.pixel, pGC->planemask,
|
||||
|
||||
Reference in New Issue
Block a user