From 3569348f9c7a0cff9f63a28b6f5f952f9fb7662b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Sun, 31 Mar 2019 07:50:33 +0200 Subject: [PATCH] gl renderer: Declare color matrix child separately Otherwise I'm doing this all the time when debugging. --- gsk/gl/gskglrenderer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gsk/gl/gskglrenderer.c b/gsk/gl/gskglrenderer.c index 3690924597..7d00ecb290 100644 --- a/gsk/gl/gskglrenderer.c +++ b/gsk/gl/gskglrenderer.c @@ -1215,13 +1215,14 @@ render_color_matrix_node (GskGLRenderer *self, const float min_y = builder->dy + node->bounds.origin.y; const float max_x = min_x + node->bounds.size.width; const float max_y = min_y + node->bounds.size.height; + GskRenderNode *child = gsk_color_matrix_node_get_child (node); int texture_id; gboolean is_offscreen; /* Pass min_x/max_x/min_y/max_y without builder->dx/dy! */ add_offscreen_ops (self, builder, &node->bounds, - gsk_color_matrix_node_get_child (node), + child, &texture_id, &is_offscreen, RESET_CLIP | RESET_OPACITY);