brendanzab / gl-rs

An OpenGL function pointer loader for Rust
Apache License 2.0
678 stars 117 forks source link

Error "interface 'wl_output' has no event 4" when running gl on Wayland ( Linux ) #542

Open derpyzza opened 1 year ago

derpyzza commented 1 year ago

I started a small project using gl-rs on windows, and it worked fine there. later i moved to windows and continued developing the project on linux but on X11. however now i'm on wayland, and when i try to execute the program it compiles file but throws "interface 'wl_output' has no event 4" as soon as it runs and panics. Is there some wayland specific setting im missing that i need to turn on? my current code is exactly the same as the triangle.rs example from the repo