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 &&
|
if (glyph && gWidth <= sizeof (FbStip) * 8 &&
|
||||||
fbGlyphIn (fbGetCompositeClip(pGC), gx, gy, gWidth, gHeight))
|
fbGlyphIn (fbGetCompositeClip(pGC), gx, gy, gWidth, gHeight))
|
||||||
{
|
{
|
||||||
(*glyph) (dst + (gy - dstYoff) * dstStride,
|
(*glyph) (dst + (gy + dstYoff) * dstStride,
|
||||||
dstStride,
|
dstStride,
|
||||||
dstBpp,
|
dstBpp,
|
||||||
(FbStip *) pglyph,
|
(FbStip *) pglyph,
|
||||||
pPriv->fg,
|
pPriv->fg,
|
||||||
gx - dstXoff,
|
gx + dstXoff,
|
||||||
gHeight);
|
gHeight);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue