rust-mobile / rust-android-examples

Various standalone Rust Android examples
112 stars 21 forks source link

agdk-eframe panics on resume if modified to use glow backend #6

Closed tkkcc closed 1 year ago

tkkcc commented 1 year ago

agdk-eframe ui state lose or quit when bring app to foreground from background.

using eframe 0.22 and winit 0.28, the error is

thread '<unnamed>' panicked at 'winit window doesn't exist'

eframe has an on_resume handler, but it's not called.

tkkcc commented 1 year ago

it's only happen with glow backend, default wgpu backend is fine.

rib commented 1 year ago

Hey @tkkcc, should we close this since your egui PR was merged? https://github.com/emilk/egui/pull/3080