Call underlying_storage of TextureRenderElement without mapping
This was mapping `UnderlyingStorage::Memory` to `None`. I don't see any reason for this. Though this also shouldn't change behavior since `TextureRenderElement` doesn't provide `underlying_storage` currently.
This commit is contained in:
parent
29a649541d
commit
b52d84dbd3
2 changed files with 23 additions and 44 deletions
|
|
@ -1371,12 +1371,7 @@ where
|
|||
#[cfg(feature = "debug")]
|
||||
CosmicMappedRenderElement::Egui(elem) => {
|
||||
let glow_renderer = renderer.glow_renderer_mut();
|
||||
match elem.underlying_storage(glow_renderer) {
|
||||
Some(UnderlyingStorage::Wayland(buffer)) => {
|
||||
Some(UnderlyingStorage::Wayland(buffer))
|
||||
}
|
||||
_ => None,
|
||||
}
|
||||
elem.underlying_storage(glow_renderer)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue