EXA: Punt on fallback case not handled correctly in exaFillRegionTiled.

Fixes http://bugs.freedesktop.org/show_bug.cgi?id=12520 .

(From master commit c7d6d1f5, modified to suit.)
This commit is contained in:
Michel Dänzer 2007-09-27 13:08:40 +02:00 committed by Daniel Stone
parent a3aed33244
commit 732d586b09

View file

@ -1223,7 +1223,8 @@ exaFillRegionTiled (DrawablePtr pDrawable,
}
fallback:
if (alu != GXcopy || planemask != FB_ALLONES)
if (alu != GXcopy || planemask != FB_ALLONES || pPatOrg->x != 0 ||
pPatOrg->y != 0)
return FALSE;
EXA_FALLBACK(("from %p to %p (%c,%c)\n", pTile, pDrawable,
exaDrawableLocation(&pTile->drawable),