summaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2004-05-24 23:05:09 +0000
committerIan Romanick <idr@us.ibm.com>2004-05-24 23:05:09 +0000
commitfb4449033bfb1363cdffefd8810247fe7a92dc0d (patch)
treea5d89c1ac1d0754d5d988f039283468d086087f7 /src/mesa/glapi
parent0f8a2718a3b4f5f89b6a0ba324da890e3a0377bf (diff)
downloadexternal_mesa3d-fb4449033bfb1363cdffefd8810247fe7a92dc0d.zip
external_mesa3d-fb4449033bfb1363cdffefd8810247fe7a92dc0d.tar.gz
external_mesa3d-fb4449033bfb1363cdffefd8810247fe7a92dc0d.tar.bz2
Fixed a bug that caused every dispatch function to call glNewList.
Diffstat (limited to 'src/mesa/glapi')
-rw-r--r--src/mesa/glapi/gl_SPARC_asm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/glapi/gl_SPARC_asm.py b/src/mesa/glapi/gl_SPARC_asm.py
index e547261..c895329 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'