From 5aafea03af051fa06589580205342001a8eb2693 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Fri, 24 Jun 2005 18:35:31 +0000 Subject: Fix non-x86 specific builds. The changes from glTexImage3DEXT to glTexImage3D that caused me so many problems during the re-development of the API scripts reared its ugly head again. This has been fixed by tracking the parameter string for each entry-point individually. This has the annoying side-effect that the names of the parameters in all aliases of a function must be the same or gl_apitemp.py will generate bad code. :( The changes in src/mesa/glapi/{gl_API.xml,glapitable.h} and src/glx/x11/* are caused by fixing the parameter names in various function aliases that didn't match. Reported by: Eric Anholt, Jacob Jansen --- src/mesa/glapi/gl_apitemp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/glapi/gl_apitemp.py') diff --git a/src/mesa/glapi/gl_apitemp.py b/src/mesa/glapi/gl_apitemp.py index 32fca646c15..7cc434fa89b 100644 --- a/src/mesa/glapi/gl_apitemp.py +++ b/src/mesa/glapi/gl_apitemp.py @@ -72,7 +72,7 @@ class PrintGlOffsets(gl_XML.gl_print_base): dispatch = "DISPATCH" print 'KEYWORD1 %s KEYWORD2 NAME(%s)(%s)' \ - % (f.return_type, name, f.get_parameter_string()) + % (f.return_type, name, f.get_parameter_string(name)) print '{' if p_string == "": print ' %s(%s, (), (F, "gl%s();\\n"));' \ -- cgit v1.2.3