pipewire: set xr swapchain size from first valid texture

This commit is contained in:
galister
2024-02-06 01:07:24 +01:00
parent 754241f6bd
commit 26b1961376
2 changed files with 2 additions and 3 deletions

View File

@@ -287,7 +287,6 @@ impl ScreenRenderer {
impl OverlayRenderer for ScreenRenderer {
fn init(&mut self, app: &mut AppState) {
let images = app.graphics.shared_images.read().unwrap();
self.last_view = Some(images.get("fallback").unwrap().clone());
}
fn render(&mut self, app: &mut AppState) {
let receiver = self.receiver.get_or_insert_with(|| {