mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
Call _glapi_set_context(NULL) in _glapi_check_multithread() to make sure the _glapi_Context global gets cleared properly.
This commit is contained in:
parent
dccd9c4f4d
commit
66d336808d
1 changed files with 1 additions and 0 deletions
|
|
@ -240,6 +240,7 @@ _glapi_check_multithread(void)
|
|||
else if (knownID != _glthread_GetID()) {
|
||||
ThreadSafe = GL_TRUE;
|
||||
_glapi_set_dispatch(NULL);
|
||||
_glapi_set_context(NULL);
|
||||
}
|
||||
}
|
||||
else if (!_glapi_get_dispatch()) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue