From: Ian Romanick Date: Mon, 24 May 2004 23:05:09 +0000 (+0000) Subject: Fixed a bug that caused every dispatch function to call glNewList. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fb4449033bfb1363cdffefd8810247fe7a92dc0d;p=mesa.git Fixed a bug that caused every dispatch function to call glNewList. --- diff --git a/src/mesa/glapi/gl_SPARC_asm.py b/src/mesa/glapi/gl_SPARC_asm.py index e547261af22..c895329492c 100644 --- a/src/mesa/glapi/gl_SPARC_asm.py +++ b/src/mesa/glapi/gl_SPARC_asm.py @@ -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'