summaryrefslogtreecommitdiff
path: root/src/mapi/mapi/entry_x86_tsd.h
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-08-21 12:10:02 +0800
committerChia-I Wu <olv@lunarg.com>2010-08-21 14:13:59 +0800
commitdf98423f24bca147b36076e39fe53f42028052ef (patch)
tree71ba561949eae4b13070a39b426a731410b34945 /src/mapi/mapi/entry_x86_tsd.h
parent760451baaec42bced6ade5026546ed3759495d70 (diff)
mapi: Prefix functions in u_current.h by u_current.
That is, replace the old _glapi_* names by new names that start with u_current_. When MAPI_GLAPI_CURRENT is defined, u_current.h defines rename macros to restore the old names. That is done for ABI compatibility.
Diffstat (limited to 'src/mapi/mapi/entry_x86_tsd.h')
-rw-r--r--src/mapi/mapi/entry_x86_tsd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mapi/mapi/entry_x86_tsd.h b/src/mapi/mapi/entry_x86_tsd.h
index d31e0676f0..fbf4ec5497 100644
--- a/src/mapi/mapi/entry_x86_tsd.h
+++ b/src/mapi/mapi/entry_x86_tsd.h
@@ -41,12 +41,12 @@ __asm__(".text");
func ":"
#define STUB_ASM_CODE(slot) \
- "movl _glapi_Dispatch, %eax\n\t" \
+ "movl u_current_table, %eax\n\t" \
"testl %eax, %eax\n\t" \
"je 1f\n\t" \
"jmp *(4 * " slot ")(%eax)\n" \
"1:\n\t" \
- "call _glapi_get_dispatch\n\t" \
+ "call u_current_get_internal\n\t"\
"jmp *(4 * " slot ")(%eax)"
#define MAPI_TMP_STUB_ASM_GCC