diff --git a/src/wayland/dmabuf/buffer_backing.rs b/src/wayland/dmabuf/buffer_backing.rs index 041b8e2..8229e87 100644 --- a/src/wayland/dmabuf/buffer_backing.rs +++ b/src/wayland/dmabuf/buffer_backing.rs @@ -87,7 +87,8 @@ impl DmabufBacking { .map(|tex| dmatexes.insert_imported_dmatex(images, tex)) .inspect(|handle| { _ = self.tex.set(handle.clone()); - }) + }); + self.tex.get().cloned() } pub fn is_transparent(&self) -> bool {