From 2fbaddfa695986ed04e4d648bb91632fd66f326b Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 3 Nov 2006 23:28:36 +0000 Subject: check for USE_MGL_NAMESPACE --- src/mesa/glapi/gl_x86_asm.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mesa/glapi/gl_x86_asm.py') diff --git a/src/mesa/glapi/gl_x86_asm.py b/src/mesa/glapi/gl_x86_asm.py index 977e0329cc..5ae3e2608e 100644 --- a/src/mesa/glapi/gl_x86_asm.py +++ b/src/mesa/glapi/gl_x86_asm.py @@ -79,6 +79,10 @@ class PrintGenericStubs(gl_XML.gl_print_base): print '# define THREADS' print '#endif' print '' + print '#ifdef USE_MGL_NAMESPACE' + print '#define _glapi_Dispatch _mglapi_Dispatch' + print '#endif' + print '' print '#ifdef GLX_USE_TLS' print '' print '# define GL_STUB(fn,off,fn_alt)\t\t\t\\' -- cgit v1.2.3