forked from AuroraMiddleware/gtk
Merge branch 'wip/chergert/quick-fixes' into 'master'
renderer quick fixes See merge request GNOME/gtk!1124
This commit is contained in:
commit
5f8dc5459e
@ -600,7 +600,7 @@ render_text_node (GskGLRenderer *self,
|
|||||||
(PangoFont *)font,
|
(PangoFont *)font,
|
||||||
gi->glyph,
|
gi->glyph,
|
||||||
x + cx,
|
x + cx,
|
||||||
+ y + cy,
|
y + cy,
|
||||||
text_scale,
|
text_scale,
|
||||||
self->gl_driver,
|
self->gl_driver,
|
||||||
&glyph);
|
&glyph);
|
||||||
|
@ -3424,12 +3424,6 @@ gsk_text_node_finalize (GskRenderNode *node)
|
|||||||
g_object_unref (self->font);
|
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
|
static void
|
||||||
gsk_text_node_draw (GskRenderNode *node,
|
gsk_text_node_draw (GskRenderNode *node,
|
||||||
cairo_t *cr)
|
cairo_t *cr)
|
||||||
|
Loading…
Reference in New Issue
Block a user