mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
According to winit docs, pre_present_notify() should be called right before calling present(). This actually prevents some issues on Wayland, like freezing the whole application when the window is not visible (ask me how I know).