fix openxr screen freeze

This commit is contained in:
galister
2024-01-28 13:08:57 +01:00
parent f96083e770
commit 335652ecb1
6 changed files with 91 additions and 59 deletions

View File

@@ -462,6 +462,9 @@ impl<D, S> OverlayRenderer for Canvas<D, S> {
fn view(&mut self) -> Option<Arc<ImageView>> {
Some(self.view_final.clone())
}
fn extent(&self) -> [u32; 3] {
self.view_final.image().extent().clone()
}
}
impl<D, S> OverlayBackend for Canvas<D, S> {}