[gtk] gl renderer: Trivial declaration reorder
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] gl renderer: Trivial declaration reorder
- Date: Tue, 7 Jan 2020 16:37:17 +0000 (UTC)
commit 398f49ad31d2bea71798228047724672689c5357
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]