PistonDevelopers / glfw-rs

GLFW3 bindings and idiomatic wrapper for Rust.
Apache License 2.0
645 stars 123 forks source link

fix: Expect that wayland surface is non null #568

Closed thatguydoru closed 4 months ago

thatguydoru commented 4 months ago

NonNull::new returns an option. Assert that we do get a window surface as WaylandWindowHandle expects a NonNull.

bvssvni commented 4 months ago

Merging.

bvssvni commented 4 months ago

Thanks!