diff options
author | Brian Paul <brianp@vmware.com> | 2014-03-05 07:47:41 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2014-03-06 07:47:12 -0700 |
commit | 846a7e86309ab3877af6b7d3a63880468dfacbd3 (patch) | |
tree | 436250171e9f39a0249cfc00c11185cec4194e69 /src/mapi/u_current.c | |
parent | 280e0657072459804896e4c05d45d1cf8bfc97c4 (diff) | |
download | external_mesa3d-846a7e86309ab3877af6b7d3a63880468dfacbd3.zip external_mesa3d-846a7e86309ab3877af6b7d3a63880468dfacbd3.tar.gz external_mesa3d-846a7e86309ab3877af6b7d3a63880468dfacbd3.tar.bz2 |
glapi: rename u_current dispatch table functions
Put "table" in the names to make things more understandable.
Reviewed-by: Chia-I Wu <olv@lunarg.com>
Diffstat (limited to 'src/mapi/u_current.c')
-rw-r--r-- | src/mapi/u_current.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mapi/u_current.c b/src/mapi/u_current.c index 72190fe..76dae91 100644 --- a/src/mapi/u_current.c +++ b/src/mapi/u_current.c @@ -168,7 +168,7 @@ u_current_init(void) } else if (knownID != u_thread_self()) { ThreadSafe = 1; - u_current_set(NULL); + u_current_set_table(NULL); u_current_set_context(NULL); } u_mutex_unlock(ThreadCheckMutex); @@ -230,7 +230,7 @@ u_current_get_context_internal(void) * table (__glapi_noop_table). */ void -u_current_set(const struct mapi_table *tbl) +u_current_set_table(const struct mapi_table *tbl) { u_current_init(); @@ -253,7 +253,7 @@ u_current_set(const struct mapi_table *tbl) * Return pointer to current dispatch table for calling thread. */ struct mapi_table * -u_current_get_internal(void) +u_current_get_table_internal(void) { #if defined(GLX_USE_TLS) return u_current_table; |