Mesa (master): glapi: add gl_dispatch_functions_start and end
Keith Whitwell
keithw at kemper.freedesktop.org
Sat Sep 27 07:54:32 UTC 2008
Module: Mesa
Branch: master
Commit: a23026effca921a77fbaa0a7effdc2826212b11e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a23026effca921a77fbaa0a7effdc2826212b11e
Author: Tobias Jakobi <liquid.acid at gmx.net>
Date: Tue Sep 23 21:38:19 2008 -0500
glapi: add gl_dispatch_functions_start and end
---
src/mesa/glapi/glapi.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/src/mesa/glapi/glapi.c b/src/mesa/glapi/glapi.c
index 09aaea3..c92b096 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)
More information about the mesa-commit
mailing list