Fixed a bug that caused every dispatch function to call glNewList.
authorIan Romanick <idr@us.ibm.com>
Mon, 24 May 2004 23:05:09 +0000 (23:05 +0000)
committerIan Romanick <idr@us.ibm.com>
Mon, 24 May 2004 23:05:09 +0000 (23:05 +0000)
src/mesa/glapi/gl_SPARC_asm.py

index e547261af228460b5969b181918da6713f7e9e08..c895329492c95af1d53203005559f9159d486814 100644 (file)
@@ -67,7 +67,7 @@ class PrintGenericStubs(gl_XML.FilterGLAPISpecBase):
                print 'GLOBL_FN(fn) ; fn:\t\t\t\t\t\\'
                print '\tsethi\t%hi(0x00000000), %g1 ;\t\t\t\\'
                print '\tld\t[%g1 + %lo(0x00000000)], %g1 ;\t\t\\'
-               print '\tld\t[%g1 + (4 * _gloffset_NewList)], %g3 ;\t\\'
+               print '\tld\t[%g1 + (4 * off)], %g3 ;\t\t\\'
                print '\tjmpl\t%g3, %g0 ;\t\t\t\t\\'
                print '\tnop'
                print '#endif'