summaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/gl_x86-64_asm.py
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2006-11-03 23:43:14 +0000
committerBrian Paul <[email protected]>2006-11-03 23:43:14 +0000
commit64d952c92cf9393ec7e02902f2c6960d5028fe64 (patch)
tree90c174a77c67ca67f64362896b372500a56685ab /src/mesa/glapi/gl_x86-64_asm.py
parentc9365b7ca4fe7ac7e7e56debe50b371c8ed721d6 (diff)
#define _glapi_Dispatch _mglapi_Dispatch when USE_MGL_NAMESPACE is set.
Diffstat (limited to 'src/mesa/glapi/gl_x86-64_asm.py')
-rw-r--r--src/mesa/glapi/gl_x86-64_asm.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mesa/glapi/gl_x86-64_asm.py b/src/mesa/glapi/gl_x86-64_asm.py
index 1e1279b8f1e..fa45406f47b 100644
--- a/src/mesa/glapi/gl_x86-64_asm.py
+++ b/src/mesa/glapi/gl_x86-64_asm.py
@@ -133,6 +133,7 @@ class PrintGenericStubs(gl_XML.gl_print_base):
print ''
print '# if defined(USE_MGL_NAMESPACE)'
print '# define GL_PREFIX(n) GLNAME(CONCAT(mgl,n))'
+ print '# define _glapi_Dispatch _mglapi_Dispatch'
print '# else'
print '# define GL_PREFIX(n) GLNAME(CONCAT(gl,n))'
print '# endif'
@@ -141,10 +142,6 @@ 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'