diff options
author | Brian Paul <[email protected]> | 2006-11-03 23:28:36 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2006-11-03 23:28:36 +0000 |
commit | 2fbaddfa695986ed04e4d648bb91632fd66f326b (patch) | |
tree | 56bf135bc12bd7989f791ce67aed2fb9d718e6ea /src/mesa/glapi/gl_x86_asm.py | |
parent | d2f80777e804742267efd700396275174928332d (diff) |
check for USE_MGL_NAMESPACE
Diffstat (limited to 'src/mesa/glapi/gl_x86_asm.py')
-rw-r--r-- | src/mesa/glapi/gl_x86_asm.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/glapi/gl_x86_asm.py b/src/mesa/glapi/gl_x86_asm.py index 977e0329cc5..5ae3e2608e9 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\\' |