emoon / rust_minifb

Cross platfrom window and framebuffer crate for Rust
MIT License
1k stars 95 forks source link

macOS: Fix segmentation fault when resizing window #269

Closed kadiwa4 closed 2 years ago

kadiwa4 commented 2 years ago

Two obvious mistakes, but hard to find when you are only told that an invalid memory access happened in a specific place.

emoon commented 2 years ago

Ouch! Great catch :)