summaryrefslogtreecommitdiff
path: root/exa
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2007-09-27 13:08:40 +0200
committerDaniel Stone <daniel@fooishbar.org>2007-11-17 22:39:34 +0100
commit732d586b0919e57ed836999f4117db3e776e2934 (patch)
tree2b0bf89862b69486bf2305485341fb3a93cf0448 /exa
parenta3aed33244914b64d08630e19100c71ab81e1a81 (diff)
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.)
Diffstat (limited to 'exa')
-rw-r--r--exa/exa_accel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/exa/exa_accel.c b/exa/exa_accel.c
index cc383cca4..acc5dbee3 100644
--- a/exa/exa_accel.c
+++ b/exa/exa_accel.c
@@ -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),