Accelerated image text code drew glyphs at wrong location when compositing

manager enabled.
This commit is contained in:
Keith Packard 2003-11-14 07:46:20 +00:00
parent 318d525bf2
commit cb6ef07bf0
1 changed files with 2 additions and 2 deletions

View File

@ -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