diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2002-06-11 01:26:58 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2002-06-11 01:26:58 +0000 |
commit | 35883ceb9389f9e5b4be8233f2326367c6aecddb (patch) | |
tree | 9bf611edc41f33119ce4f1152db50943a5f762d7 /src/mesa/glapi | |
parent | 4fe2f3f1a01b3825a6d24f5694d705aee6911a3b (diff) |
Fix NASM problems, remove static var in SSE detection code. (Josh Vanderhoof)
Diffstat (limited to 'src/mesa/glapi')
-rw-r--r-- | src/mesa/glapi/glx86asm.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/glapi/glx86asm.py b/src/mesa/glapi/glx86asm.py index 3e61fc547e..f881abeea9 100644 --- a/src/mesa/glapi/glx86asm.py +++ b/src/mesa/glapi/glx86asm.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# $Id: glx86asm.py,v 1.5 2002/04/02 16:18:20 brianp Exp $ +# $Id: glx86asm.py,v 1.6 2002/06/11 01:26:58 brianp Exp $ # Mesa 3-D graphics library # Version: 4.1 @@ -59,6 +59,8 @@ def PrintHead(): print '#endif' print '' print '' + print 'EXTERN GLNAME(_glapi_Dispatch)' + print '' return #enddef @@ -106,7 +108,7 @@ def EmitFunction(name, returnType, argTypeList, argNameList, alias, offset): print 'ALIGNTEXT16' print "GLOBL_FN(GL_PREFIX(%s))" % (name) print "GL_PREFIX(%s):" % (name) - print '\tMOV_L(GLNAME(_glapi_Dispatch), EAX)' + print '\tMOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX)' print "\tJMP(GL_OFFSET(_gloffset_%s))" % (dispatchName) print '' |