summaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/gl_x86-64_asm.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/glapi/gl_x86-64_asm.py')
-rw-r--r--src/mesa/glapi/gl_x86-64_asm.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/glapi/gl_x86-64_asm.py b/src/mesa/glapi/gl_x86-64_asm.py
index 2a375d1ae94..1e1279b8f1e 100644
--- a/src/mesa/glapi/gl_x86-64_asm.py
+++ b/src/mesa/glapi/gl_x86-64_asm.py
@@ -141,6 +141,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 '\t.text'
print ''
print '#ifdef GLX_USE_TLS'