From: Tobias Jakobi Date: Wed, 24 Sep 2008 02:38:19 +0000 (-0500) Subject: glapi: add gl_dispatch_functions_start and end X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a23026effca921a77fbaa0a7effdc2826212b11e;p=mesa.git glapi: add gl_dispatch_functions_start and end --- 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)