diff --git a/gsk/gl/gskglrenderer.c b/gsk/gl/gskglrenderer.c index fb4ecdefe0..eaa4a1b322 100644 --- a/gsk/gl/gskglrenderer.c +++ b/gsk/gl/gskglrenderer.c @@ -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); diff --git a/gsk/gskrendernodeimpl.c b/gsk/gskrendernodeimpl.c index ea58e840f6..8878ca3bd9 100644 --- a/gsk/gskrendernodeimpl.c +++ b/gsk/gskrendernodeimpl.c @@ -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)