Skip to content

Commit

Permalink
Fix iOS compilation of eframe (#4851)
Browse files Browse the repository at this point in the history
Fixed changed the name of function `WinitApp::get_window_winit_id` to
`WinitApp::window_id_from_viewport_id` and missed `egui::ViewportId`
import.
  • Loading branch information
ardocrat authored Jul 31, 2024
1 parent c5bea31 commit dfbc7f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/eframe/src/native/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ impl<T: WinitApp> WinitAppWrapper<T> {
// 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)
Expand Down

0 comments on commit dfbc7f0

Please sign in to comment.