[gtk/wip/baedert/gl-rework: 81/127] gl renderer: Trivial declaration reorder



commit 3d75339cff1df27200b6531accb86e814437e715
Author: Timm Bäder <mail baedert org>
Date:   Mon Dec 16 07:13:37 2019 +0100

    gl renderer: Trivial declaration reorder

 gsk/gl/gskglrenderer.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gsk/gl/gskglrenderer.c b/gsk/gl/gskglrenderer.c
index b8d491062c..8107a34dd6 100644
--- a/gsk/gl/gskglrenderer.c
+++ b/gsk/gl/gskglrenderer.c
@@ -628,10 +628,10 @@ render_text_node (GskGLRenderer   *self,
   const PangoFont *font = gsk_text_node_peek_font (node);
   const PangoGlyphInfo *glyphs = gsk_text_node_peek_glyphs (node);
   const float text_scale = ops_get_scale (builder);
-  guint num_glyphs = gsk_text_node_get_num_glyphs (node);
+  const graphene_point_t *offset = gsk_text_node_get_offset (node);
+  const guint num_glyphs = gsk_text_node_get_num_glyphs (node);
   int i;
   int x_position = 0;
-  const graphene_point_t *offset = gsk_text_node_get_offset (node);
   float x = offset->x + builder->dx;
   float y = offset->y + builder->dy;
   GlyphCacheKey lookup;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]