emoon / rust_minifb

Cross platfrom window and framebuffer crate for Rust
MIT License
1.04k stars 99 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 :)