summaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/glapi.c
diff options
context:
space:
mode:
authorTobias Jakobi <[email protected]>2008-09-23 21:38:19 -0500
committerKeith Whitwell <[email protected]>2008-09-27 08:47:55 +0100
commita23026effca921a77fbaa0a7effdc2826212b11e (patch)
tree4e9f332d5c32d074aef6c6cf875bb245c70e24f8 /src/mesa/glapi/glapi.c
parent7d99ddcb2bb09f1f54d91e6e20e42d217a5bccdf (diff)
glapi: add gl_dispatch_functions_start and end
Diffstat (limited to 'src/mesa/glapi/glapi.c')
-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 09aaea3d93a..c92b096f68e 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)