forked from AuroraMiddleware/gtk
gl renderer: Sprinkle some const around
This commit is contained in:
parent
c38c5c4ce1
commit
76795ffba9
@ -665,10 +665,10 @@ render_text_node (GskGLRenderer *self,
|
|||||||
const float text_scale = ops_get_scale (builder);
|
const float text_scale = ops_get_scale (builder);
|
||||||
const graphene_point_t *offset = gsk_text_node_get_offset (node);
|
const graphene_point_t *offset = gsk_text_node_get_offset (node);
|
||||||
const guint num_glyphs = gsk_text_node_get_num_glyphs (node);
|
const guint num_glyphs = gsk_text_node_get_num_glyphs (node);
|
||||||
|
const float x = offset->x + builder->dx;
|
||||||
|
const float y = offset->y + builder->dy;
|
||||||
int i;
|
int i;
|
||||||
int x_position = 0;
|
int x_position = 0;
|
||||||
float x = offset->x + builder->dx;
|
|
||||||
float y = offset->y + builder->dy;
|
|
||||||
GlyphCacheKey lookup;
|
GlyphCacheKey lookup;
|
||||||
|
|
||||||
/* If the font has color glyphs, we don't need to recolor anything */
|
/* If the font has color glyphs, we don't need to recolor anything */
|
||||||
|
Loading…
Reference in New Issue
Block a user