sna/glyphs: Fix typo and render glyphs to the small mask
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
2b94f9a043
commit
797ebf937f
|
|
@ -920,7 +920,7 @@ upload:
|
|||
pixman_image_t *glyph_image;
|
||||
|
||||
glyph_image = sna_glyph_get_image(g, screen);
|
||||
if (glyph_image)
|
||||
if (glyph_image == NULL)
|
||||
goto next_image;
|
||||
|
||||
ptr = pixman_glyph_cache_insert(cache, g, NULL,
|
||||
|
|
@ -943,7 +943,7 @@ next_image:
|
|||
list++;
|
||||
} while (--nlist);
|
||||
|
||||
pixman_composite_glyphs_no_mask(PictOpAdd,
|
||||
pixman_composite_glyphs_no_mask(PIXMAN_OP_ADD,
|
||||
sna->render.white_image,
|
||||
mask_image,
|
||||
0, 0,
|
||||
|
|
|
|||
Loading…
Reference in New Issue