bevy/crates/bevy_winit
Dusty DeWeese 927973ce6a Don't update when suspended to avoid GPU use on iOS. (#2482)
# Objective

This fixes a crash caused by iOS preventing GPU access when not focused: #2296

## Solution

This skips `app.update()` in `winit_runner` when `winit` sends the `Suspended` event, until `Resumed`.

I've tested that this works for me on my iOS app.
2021-07-16 00:50:39 +00:00
..
src Don't update when suspended to avoid GPU use on iOS. (#2482) 2021-07-16 00:50:39 +00:00
Cargo.toml Remove unused deps (#2455) 2021-07-14 20:52:50 +00:00