chore: cleanup new blur code

This commit is contained in:
Victoria Brekenfeld 2026-06-11 15:47:16 +02:00 committed by Victoria Brekenfeld
parent 7fbeb8787f
commit 0c805d9b30
2 changed files with 7 additions and 12 deletions

View file

@ -9,7 +9,7 @@ use smithay::{
allocator::Fourcc,
renderer::{
Bind, BlitFrame, Color32F, ContextId, Frame, FrameContext, ImportAll, Offscreen,
Renderer, RendererSuper, Texture, TextureFilter,
Renderer, Texture, TextureFilter,
element::{Element, Id, Kind, RenderElement},
gles::{
GlesError, GlesFrame, GlesRenderer, GlesTexProgram, GlesTexture, Uniform,
@ -115,7 +115,7 @@ impl BlurShaders {
}
}
type BlurTexture<T: Texture> = Mutex<Option<T>>;
type BlurTexture<T> = Mutex<Option<T>>;
#[derive(Debug)]
pub struct BlurState {
@ -473,7 +473,7 @@ where
src,
dst,
&damage,
&opaque_regions,
opaque_regions,
Transform::Normal,
1.0,
)?;