OS: NixOS.
Steps to reproduce:
The window opens, and the example runs for around 1s, and then it panicks and terminates:
thread 'main' (172059) panicked at /home/rajas/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sdl2-0.37.0/src/sdl2/event.rs:336:27:
trying to construct an enum from an invalid value 0x207
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
Aborted (core dumped) cargo r --example hello-world
I'm not sure if this is a bug in the sdl2 crate, the SDL2 version I have is too recent (2.32.60), or something else.