gl renderer: Replace a redundant function call

We're already getting the radius from the node above.
This commit is contained in:
Timm Bäder 2019-07-19 16:42:56 +02:00
parent 3935027880
commit 5910a28aa5

View File

@ -1428,7 +1428,7 @@ render_blur_node (GskGLRenderer *self,
ops_set_program (builder, &self->blur_program); ops_set_program (builder, &self->blur_program);
op.op = OP_CHANGE_BLUR; op.op = OP_CHANGE_BLUR;
graphene_size_init_from_size (&op.blur.size, &node->bounds.size); 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_add (builder, &op);
ops_set_texture (builder, region.texture_id); ops_set_texture (builder, region.texture_id);