docs: Fixes dispatch.rst with __THREAD_INITIAL_EXEC
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/16858>
This commit is contained in:
parent
4dd5f03edc
commit
0cb05d13b0
|
@ -143,8 +143,7 @@ reference.
|
|||
.. code-block:: c
|
||||
:caption: TLS ``GET_DISPATCH`` Implementation
|
||||
|
||||
extern __thread struct _glapi_table *_glapi_tls_Dispatch
|
||||
__attribute__((tls_model("initial-exec")));
|
||||
extern __THREAD_INITIAL_EXEC struct _glapi_table *_glapi_tls_Dispatch;
|
||||
|
||||
#define GET_DISPATCH() _glapi_tls_Dispatch
|
||||
|
||||
|
|
Loading…
Reference in New Issue