From cb6ef07bf01e72d1a6e6e83ceb7f76d6534da941 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Fri, 14 Nov 2003 07:46:20 +0000 Subject: Accelerated image text code drew glyphs at wrong location when compositing manager enabled. --- hw/kdrive/src/kaa.c | 4 ++-- 1 file 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 -- cgit v1.2.3