Merge branch 'wip/chergert/quick-fixes' into 'master'

renderer quick fixes

See merge request GNOME/gtk!1124
This commit is contained in:
Matthias Clasen 2019-10-08 19:43:14 +00:00
commit 5f8dc5459e
2 changed files with 1 additions and 7 deletions

View File

@ -600,7 +600,7 @@ render_text_node (GskGLRenderer *self,
(PangoFont *)font,
gi->glyph,
x + cx,
+ y + cy,
y + cy,
text_scale,
self->gl_driver,
&glyph);

View File

@ -3424,12 +3424,6 @@ gsk_text_node_finalize (GskRenderNode *node)
g_object_unref (self->font);
}
#ifndef STACK_BUFFER_SIZE
#define STACK_BUFFER_SIZE (512 * sizeof (int))
#endif
#define STACK_ARRAY_LENGTH(T) (STACK_BUFFER_SIZE / sizeof(T))
static void
gsk_text_node_draw (GskRenderNode *node,
cairo_t *cr)