projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dccd9c4
)
Call _glapi_set_context(NULL) in _glapi_check_multithread() to make sure the _glapi_C...
author
Brian
<brian@yutani.localnet.net>
Mon, 2 Apr 2007 16:03:34 +0000
(10:03 -0600)
committer
Brian
<brian@yutani.localnet.net>
Mon, 2 Apr 2007 16:03:34 +0000
(10:03 -0600)
src/mesa/glapi/glapi.c
patch
|
blob
|
history
diff --git
a/src/mesa/glapi/glapi.c
b/src/mesa/glapi/glapi.c
index 348f12b3e74ba08f75edf7fde927a321a9e50593..5815dbff842eb1a097119496d8ebc60bb5bd637a 100644
(file)
--- a/
src/mesa/glapi/glapi.c
+++ b/
src/mesa/glapi/glapi.c
@@
-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()) {