You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running softbuffer's winit example under X11, it seems it's not guaranteed that window.inner_size(); matches the latest processed WindowEvent::Resized. This can lead to an index out of bounds panic in the example's redraw code.
To reproduce, in an X11 environment:
cargo run --example winit
and then resize the window rapidly. It's also reproducible with --release, but not as easily. I'm not actually sure if this should be considered a bug with the example, or with winit itself.
The text was updated successfully, but these errors were encountered:
When running softbuffer's winit example under X11, it seems it's not guaranteed that
window.inner_size();
matches the latest processedWindowEvent::Resized
. This can lead to an index out of bounds panic in the example's redraw code.To reproduce, in an X11 environment:
and then resize the window rapidly. It's also reproducible with
--release
, but not as easily. I'm not actually sure if this should be considered a bug with the example, or with winit itself.The text was updated successfully, but these errors were encountered: