grovesNL / glow

GL on Whatever: a set of bindings to run GL anywhere and avoid target-specific code
Apache License 2.0
1.17k stars 130 forks source link

Incorrect timeout type for glClientWaitSync #287

Open kvark opened 5 months ago

kvark commented 5 months ago

It's time in nanoseconds according to the spec - https://registry.khronos.org/OpenGL-Refpages/es3.0/html/glClientWaitSync.xhtml However, glow expects i32 - https://docs.rs/glow/latest/glow/trait.HasContext.html#tymethod.client_wait_sync This limits us to essentially 2 seconds of wait, and provides a wrong API.