mesa: add EXT_dsa glMultiTexCoordPointerEXT function
[mesa.git] / src / mapi / mapi_glapi.c
index 9f02edb7cd3a9e9ed7d8617e21b8aae1ba3aad97..f25c81a4ae6e5b21450d8d66e824ba4a4ac1e896 100644 (file)
  * u_current.c.
  */
 
-#ifdef GLX_USE_TLS
+#ifdef USE_ELF_TLS
 /* not used, but defined for compatibility */
 const struct _glapi_table *_glapi_Dispatch;
 const void *_glapi_Context;
-#endif /* GLX_USE_TLS */
+#endif /* USE_ELF_TLS */
 
 void
 _glapi_destroy_multithread(void)
@@ -65,7 +65,7 @@ _glapi_set_context(void *context)
 void
 _glapi_set_dispatch(struct _glapi_table *dispatch)
 {
-   u_current_set_table((const struct mapi_table *) dispatch);
+   u_current_set_table((const struct _glapi_table *) dispatch);
 }
 
 /**