Accelerated image text code drew glyphs at wrong location when compositing
manager enabled.
This commit is contained in:
parent
318d525bf2
commit
cb6ef07bf0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue