summaryrefslogtreecommitdiff
path: root/exa
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2005-10-04 11:24:09 +0000
committerEric Anholt <anholt@freebsd.org>2005-10-04 11:24:09 +0000
commitf47f00ab747563678c8625de5e5b2a588660064e (patch)
tree7aaa9a4e9e4b41f2e762d1e162c6bffaff7b6a3a /exa
parent89a1a91b88b94b341075bc208941337ce11465b7 (diff)
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.
Diffstat (limited to 'exa')
-rw-r--r--exa/exa_render.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/exa/exa_render.c b/exa/exa_render.c
index d57a2215e..e71f53575 100644
--- a/exa/exa_render.c
+++ b/exa/exa_render.c
@@ -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)