ngl: Add padding between cached glyphs
Without this, adjacent items in the cache sometimes bleed into the texture for a glyph.
This commit is contained in:
@@ -318,7 +318,7 @@ gsk_ngl_glyph_library_add (GskNglGlyphLibrary *self,
|
||||
sizeof *value,
|
||||
width,
|
||||
height,
|
||||
0,
|
||||
1,
|
||||
&packed_x, &packed_y);
|
||||
|
||||
memcpy (&value->ink_rect, &ink_rect, sizeof ink_rect);
|
||||
|
||||
Reference in New Issue
Block a user