Mark the temporary pixmap dirty if UploadToScreen succeeds. Failure to do

so resulted in a solid black glyph if the font rendering actually
    resulted in a fallback (subpixel AA, for example) and the temporary got
    migrated after 10 or so glyphs.
This commit is contained in:
Eric Anholt 2005-10-04 11:24:09 +00:00
parent 89a1a91b88
commit f47f00ab74
3 changed files with 6 additions and 0 deletions

View File

@ -718,6 +718,8 @@ exaGlyphs (CARD8 op,
{
exaCopyArea (&pScratchPixmap->drawable, &pPixmap->drawable, pGC,
0, 0, glyph->info.width, glyph->info.height, 0, 0);
} else {
exaDrawableDirty (&pPixmap->drawable);
}
if (maskFormat)

View File

@ -718,6 +718,8 @@ exaGlyphs (CARD8 op,
{
exaCopyArea (&pScratchPixmap->drawable, &pPixmap->drawable, pGC,
0, 0, glyph->info.width, glyph->info.height, 0, 0);
} else {
exaDrawableDirty (&pPixmap->drawable);
}
if (maskFormat)

View File

@ -718,6 +718,8 @@ exaGlyphs (CARD8 op,
{
exaCopyArea (&pScratchPixmap->drawable, &pPixmap->drawable, pGC,
0, 0, glyph->info.width, glyph->info.height, 0, 0);
} else {
exaDrawableDirty (&pPixmap->drawable);
}
if (maskFormat)