diff options
author | Timm Bäder <mail@baedert.org> | 2019-07-19 16:42:56 +0200 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2019-07-19 18:14:50 +0200 |
commit | 5910a28aa5af819f467be3064386cc546a53de08 (patch) | |
tree | f08cd6c790f383ab2cb5bb7a0d4311437c518cc9 /gsk | |
parent | 39350278805ede7e9158d299f750d28487fea73c (diff) | |
download | gtk+-5910a28aa5af819f467be3064386cc546a53de08.tar.gz |
gl renderer: Replace a redundant function call
We're already getting the radius from the node above.
Diffstat (limited to 'gsk')
-rw-r--r-- | gsk/gl/gskglrenderer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gsk/gl/gskglrenderer.c b/gsk/gl/gskglrenderer.c index 65fdc0c13e..9d2d7b580a 100644 --- a/gsk/gl/gskglrenderer.c +++ b/gsk/gl/gskglrenderer.c @@ -1428,7 +1428,7 @@ render_blur_node (GskGLRenderer *self, ops_set_program (builder, &self->blur_program); op.op = OP_CHANGE_BLUR; graphene_size_init_from_size (&op.blur.size, &node->bounds.size); - op.blur.radius = gsk_blur_node_get_radius (node); + op.blur.radius = blur_radius; ops_add (builder, &op); ops_set_texture (builder, region.texture_id); @@ -1439,7 +1439,7 @@ render_blur_node (GskGLRenderer *self, { { min_x, min_y }, { 0, 1 }, }, { { min_x, max_y }, { 0, 0 }, }, { { max_x, min_y }, { 1, 1 }, }, - + { { max_x, max_y }, { 1, 0 }, }, { { min_x, max_y }, { 0, 0 }, }, { { max_x, min_y }, { 1, 1 }, }, |