sna: Don't trim prepare for glyphs_via_mask
If we pass the expected width/height without passing the per-glyph offset into the preparation function, we make the erroneous mistake of analysing the glyph cache only for the mask extents and so will miss glyphs that we need to upload for the operation. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
9f66b27114
commit
2b23605efb
|
|
@ -978,13 +978,13 @@ next_image:
|
|||
ok = sna->render.composite(sna, PictOpAdd,
|
||||
this_atlas, NULL, mask,
|
||||
0, 0, 0, 0, 0, 0,
|
||||
width, height,
|
||||
0, 0,
|
||||
&tmp);
|
||||
} else {
|
||||
ok = sna->render.composite(sna, PictOpAdd,
|
||||
sna->render.white_picture, this_atlas, mask,
|
||||
0, 0, 0, 0, 0, 0,
|
||||
width, height,
|
||||
0, 0,
|
||||
&tmp);
|
||||
}
|
||||
if (!ok) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue