Skip to content

Fix initial current context value for non-main threads

u_current_get_context was returning the current context from the main thread if called before _make_current_current(). With this change, we always use Thread Local Storage when a second thread is attached, even if OpenGL is not used from that thread.

Merge request reports

Loading