Skip to content

Commit

Permalink
Remove temporary iOS workaround (#17217)
Browse files Browse the repository at this point in the history
# Objective

Fixes #16928.

## Solution

Remove the temporary workaround introduced in #16548.
  • Loading branch information
chompaa authored Jan 7, 2025
1 parent e24ae6c commit a2ae7e9
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions crates/bevy_winit/src/system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,16 +154,6 @@ pub fn create_monitors(
seen_monitors[idx] = true;
continue 'outer;
}
// on iOS, equality doesn't work, so we need to compare the names
// otherwise the monitor entity is recreated every time
// TODO: remove after https://github.com/rust-windowing/winit/pull/4013 has been released
#[cfg(target_os = "ios")]
{
if monitor.name() == m.name() {
seen_monitors[idx] = true;
continue 'outer;
}
}
}

let size = monitor.size();
Expand Down

0 comments on commit a2ae7e9

Please sign in to comment.