summaryrefslogtreecommitdiff
path: root/src/mesa/glapi
diff options
context:
space:
mode:
authorTobias Jakobi <liquid.acid@gmx.net>2008-09-23 21:38:19 -0500
committerKeith Whitwell <keith@tungstengraphics.com>2008-09-27 08:47:55 +0100
commita23026effca921a77fbaa0a7effdc2826212b11e (patch)
tree4e9f332d5c32d074aef6c6cf875bb245c70e24f8 /src/mesa/glapi
parent7d99ddcb2bb09f1f54d91e6e20e42d217a5bccdf (diff)
glapi: add gl_dispatch_functions_start and end
Diffstat (limited to 'src/mesa/glapi')
-rw-r--r--src/mesa/glapi/glapi.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mesa/glapi/glapi.c b/src/mesa/glapi/glapi.c
index 09aaea3d93..c92b096f68 100644
--- a/src/mesa/glapi/glapi.c
+++ b/src/mesa/glapi/glapi.c
@@ -290,6 +290,16 @@ _glapi_get_context(void)
#endif
}
+#ifdef USE_X86_ASM
+
+#if defined( GLX_USE_TLS )
+extern GLubyte gl_dispatch_functions_start[];
+extern GLubyte gl_dispatch_functions_end[];
+#else
+extern const GLubyte gl_dispatch_functions_start[];
+#endif
+
+#endif /* USE_X86_ASM */
#if defined(PTHREADS) || defined(GLX_USE_TLS)