chore: Fix clippy lints

This commit is contained in:
Victoria Brekenfeld 2026-03-30 14:17:22 +02:00 committed by Victoria Brekenfeld
parent de8b47839c
commit cfed174e9b
2 changed files with 10 additions and 12 deletions

View file

@ -226,9 +226,9 @@ impl BlurElement {
Ok(Some(Self::from_state(
renderer,
extended_geo.to_logical(output_scale),
&region,
region,
output_scale,
&mut *state.lock().unwrap(),
&mut state.lock().unwrap(),
uniforms,
strength,
)?))
@ -502,7 +502,7 @@ fn render_blur(
let adjusted_tex_size = tex_size.downscale(1 << i);
let target_tex_size = tex_size
.downscale(1 << i + 1)
.downscale(1 << (i + 1))
.to_logical(1, Transform::Normal)
.to_physical(1);
let half_pixel = [