Commit 22b6085c authored by Timm Bäder's avatar Timm Bäder 👎

gl renderer: Scale blur radius

We scale the texture size, so as a consequence we have to scale the blur
radius.
parent 2deb1a05
......@@ -1503,8 +1503,7 @@ render_blur_node (GskGLRenderer *self,
region.texture_id,
node->bounds.size.width * scale,
node->bounds.size.height * scale,
blur_radius);
blur_radius * scale);
}
g_assert (blurred_texture_id != 0);
......@@ -1689,7 +1688,7 @@ render_outset_shadow_node (GskGLRenderer *self,
texture_id,
texture_width,
texture_height,
blur_radius);
blur_radius * scale);
gsk_gl_driver_mark_texture_permanent (self->gl_driver, blurred_texture_id);
gsk_gl_shadow_cache_commit (&self->shadow_cache,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment