summaryrefslogtreecommitdiff
path: root/exa
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2007-09-27 13:08:40 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2007-09-27 13:08:40 +0200
commit7927850b85f8e2143c8cecdea7c4dbd5960cd0f9 (patch)
treee10bd471aa8d4010c4aca24b62d501501d0db2a2 /exa
parent5a609821d1fffa011a6287d076d64a9cf17e4b07 (diff)
EXA: Punt on fallback case not handled correctly in exaFillRegionTiled.
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=12520 .
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 ecb4fd960..22c7d5604 100644
--- a/exa/exa_accel.c
+++ b/exa/exa_accel.c
@@ -1287,7 +1287,8 @@ exaFillRegionTiled (DrawablePtr pDrawable,
}
fallback:
- if (alu != GXcopy || !EXA_PM_IS_SOLID(pDrawable, planemask)) {
+ if (alu != GXcopy || pPatOrg->x != 0 || pPatOrg->y != 0 ||
+ !EXA_PM_IS_SOLID(pDrawable, planemask)) {
REGION_TRANSLATE(pScreen, pRegion, -xoff, -yoff);
return FALSE;
}