grovesNL / glow

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

Native Context has become !Send + !Sync #266

Closed surban closed 11 months ago

surban commented 11 months ago

The recent addition of debug callback functions has caused the native Context to become !Send and !Sync.

This is problematic since it is legal to pass an OpenGL context from one thread to another. Therefore Context should stay Send + Sync.