projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
glthread: track primitive restart state
[mesa.git]
/
src
/
mapi
/
mapi_glapi.c
diff --git
a/src/mapi/mapi_glapi.c
b/src/mapi/mapi_glapi.c
index 70605f3dfa1df43b3c882a54b880f8b4fb3f5a55..1cee148c89158233c36335cf51fc8502619f6218 100644
(file)
--- a/
src/mapi/mapi_glapi.c
+++ b/
src/mapi/mapi_glapi.c
@@
-38,11
+38,11
@@
* u_current.c.
*/
* 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;
/* 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)
void
_glapi_destroy_multithread(void)
@@
-65,7
+65,7
@@
_glapi_set_context(void *context)
void
_glapi_set_dispatch(struct _glapi_table *dispatch)
{
void
_glapi_set_dispatch(struct _glapi_table *dispatch)
{
- u_current_set_table((const struct
m
api_table *) dispatch);
+ u_current_set_table((const struct
_gl
api_table *) dispatch);
}
/**
}
/**
@@
-174,11
+174,6
@@
_glapi_get_stub(const char *name, int generate)
{
const struct mapi_stub *stub;
{
const struct mapi_stub *stub;
-#ifdef USE_MGL_NAMESPACE
- if (name)
- name++;
-#endif
-
if (!name || name[0] != 'g' || name[1] != 'l')
return NULL;
name += 2;
if (!name || name[0] != 'g' || name[1] != 'l')
return NULL;
name += 2;