From dfbc7f0d19634dce155240a437a9dc3274dd843f Mon Sep 17 00:00:00 2001 From: Ardocrat Date: Wed, 31 Jul 2024 08:18:18 +0000 Subject: [PATCH] Fix iOS compilation of eframe (#4851) Fixed changed the name of function `WinitApp::get_window_winit_id` to `WinitApp::window_id_from_viewport_id` and missed `egui::ViewportId` import. --- crates/eframe/src/native/run.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/eframe/src/native/run.rs b/crates/eframe/src/native/run.rs index 2d3a9dbe2b0..cd9ab3d66ee 100644 --- a/crates/eframe/src/native/run.rs +++ b/crates/eframe/src/native/run.rs @@ -177,7 +177,7 @@ impl WinitAppWrapper { // WaitUntil seems to not work on iOS #[cfg(target_os = "ios")] winit_app - .get_window_winit_id(ViewportId::ROOT) + .window_id_from_viewport_id(egui::ViewportId::ROOT) .map(|window_id| { winit_app .window(window_id)