glx: using C++11 keyword thread_local
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15087>
This commit is contained in:
parent
0f3064ee44
commit
be00a7c8ac
|
@ -98,7 +98,7 @@ struct glx_context dummyContext = {
|
|||
sizeof(dummyBuffer),
|
||||
&dummyVtable
|
||||
};
|
||||
__thread void *__glX_tls_Context = &dummyContext;
|
||||
thread_local void *__glX_tls_Context = &dummyContext;
|
||||
|
||||
#if !defined(USE_ELF_TLS)
|
||||
extern "C" struct glx_context *
|
||||
|
|
Loading…
Reference in New Issue