projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3f352e
)
mapi: fix preprocessor check in u_current_destroy()
author
Brian Paul
<brianp@vmware.com>
Thu, 5 Mar 2015 02:17:57 +0000
(19:17 -0700)
committer
Brian Paul
<brianp@vmware.com>
Thu, 5 Mar 2015 13:59:43 +0000
(06:59 -0700)
So it matches the preprocessor check around the u_current_init_tsd() code.
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/mapi/u_current.c
patch
|
blob
|
history
diff --git
a/src/mapi/u_current.c
b/src/mapi/u_current.c
index afa887e069255fa6e8fcfc8409952fcb7e6a7dd5..eb77cc7772fc816a28d05d05f9313ca503a0cbd5 100644
(file)
--- a/
src/mapi/u_current.c
+++ b/
src/mapi/u_current.c
@@
-125,7
+125,7
@@
static int ThreadSafe;
void
u_current_destroy(void)
{
-#if defined(THREADS) &&
defined(_WIN32
)
+#if defined(THREADS) &&
!defined(GLX_USE_TLS
)
u_tsd_destroy(&u_current_table_tsd);
u_tsd_destroy(&u_current_context_tsd);
#endif