fix(wayland/dmabuf_backing): always update surface
This commit is contained in:
@@ -87,7 +87,8 @@ impl DmabufBacking {
|
|||||||
.map(|tex| dmatexes.insert_imported_dmatex(images, tex))
|
.map(|tex| dmatexes.insert_imported_dmatex(images, tex))
|
||||||
.inspect(|handle| {
|
.inspect(|handle| {
|
||||||
_ = self.tex.set(handle.clone());
|
_ = self.tex.set(handle.clone());
|
||||||
})
|
});
|
||||||
|
self.tex.get().cloned()
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn is_transparent(&self) -> bool {
|
pub fn is_transparent(&self) -> bool {
|
||||||
|
|||||||
Reference in New Issue
Block a user