summaryrefslogtreecommitdiff
path: root/hw/kdrive
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2003-11-14 07:46:20 +0000
committerKeith Packard <keithp@keithp.com>2003-11-14 07:46:20 +0000
commitcb6ef07bf01e72d1a6e6e83ceb7f76d6534da941 (patch)
tree55b4ef104d28a55cb67a416ed4efa0b251a6174e /hw/kdrive
parent318d525bf2fe52b059b1568e9b31d144b297a781 (diff)
Accelerated image text code drew glyphs at wrong location when compositing
manager enabled.
Diffstat (limited to 'hw/kdrive')
-rw-r--r--hw/kdrive/src/kaa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/kdrive/src/kaa.c b/hw/kdrive/src/kaa.c
index bf301bb99..d861a232a 100644
--- a/hw/kdrive/src/kaa.c
+++ b/hw/kdrive/src/kaa.c
@@ -750,12 +750,12 @@ kaaImageGlyphBlt (DrawablePtr pDrawable,
if (glyph && gWidth <= sizeof (FbStip) * 8 &&
fbGlyphIn (fbGetCompositeClip(pGC), gx, gy, gWidth, gHeight))
{
- (*glyph) (dst + (gy - dstYoff) * dstStride,
+ (*glyph) (dst + (gy + dstYoff) * dstStride,
dstStride,
dstBpp,
(FbStip *) pglyph,
pPriv->fg,
- gx - dstXoff,
+ gx + dstXoff,
gHeight);
}
else