Remove temporary iOS workaround (#17217)
# Objective Fixes #16928. ## Solution Remove the temporary workaround introduced in #16548.
This commit is contained in:
parent
e24ae6cf40
commit
a2ae7e9a19
@ -154,16 +154,6 @@ pub fn create_monitors(
|
|||||||
seen_monitors[idx] = true;
|
seen_monitors[idx] = true;
|
||||||
continue 'outer;
|
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();
|
let size = monitor.size();
|
||||||
|
Loading…
Reference in New Issue
Block a user