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
Some pixels examples use winit, but the keyboard handling of winit isn't very good, it is interpretting the keys like typing would and there is a big delay to it seeing a left or right arrow key release, it's not getting the raw is the key up or down like sdl would.
cargo run --release
....
thread 'main' panicked at 'Could not retrieve any SDL2 window info, and Osspial wrote the trait to be infallible despite that clearly not always being the case, so now you got this panic. https://github.com/rust-windowing/raw-window-handle/issues/new', /home/lucasw/.cargo/registry/src/github.com-1ecc6299db9ec823/beryllium-0.3.2/src/window/raw_window.rs:107:7
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Some pixels examples use winit, but the keyboard handling of
winit
isn't very good, it is interpretting the keys like typing would and there is a big delay to it seeing a left or right arrow key release, it's not getting the raw is the key up or down like sdl would.rust-windowing/winit#310
Try following minimal-sdl2 example instead.
The text was updated successfully, but these errors were encountered: