mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 07:03:15 -04:00
Always send RedrawEventsCleared on iOS
This makes it consistent with the rest of the platforms in winit.
This commit is contained in:
@@ -811,9 +811,7 @@ pub unsafe fn handle_main_events_cleared() {
|
||||
})
|
||||
.collect();
|
||||
|
||||
if !redraw_events.is_empty() {
|
||||
redraw_events.push(EventWrapper::StaticEvent(Event::RedrawEventsCleared));
|
||||
}
|
||||
redraw_events.push(EventWrapper::StaticEvent(Event::RedrawEventsCleared));
|
||||
drop(this);
|
||||
|
||||
handle_nonuser_events(redraw_events);
|
||||
|
||||
Reference in New Issue
Block a user