diff options
author | Ian Romanick <[email protected]> | 2006-03-06 18:30:17 +0000 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2006-03-06 18:30:17 +0000 |
commit | 9d881ea718e3d9139ed9de7922d758978f650381 (patch) | |
tree | 0cba096cd319b375e0de04f5905fe4d852f63085 /src/mesa/glapi/glX_proto_common.py | |
parent | 448d23331db9700ade9bd5a378e968b5e3645814 (diff) |
Generate server-side GLX protocol decode functions using the 'make server'
target. The environment variable XORG_BASE must be set to point to the base
of the X.org server sources where the files are to be placed.
The 7.0.0 server release already contains files generated by these scripts.
The scripts should have been committed months ago. Sorry for the lag. :(
Diffstat (limited to 'src/mesa/glapi/glX_proto_common.py')
-rw-r--r-- | src/mesa/glapi/glX_proto_common.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/glapi/glX_proto_common.py b/src/mesa/glapi/glX_proto_common.py index 74489635710..6f094e22b31 100644 --- a/src/mesa/glapi/glX_proto_common.py +++ b/src/mesa/glapi/glX_proto_common.py @@ -48,7 +48,7 @@ class glx_proto_type(gl_XML.gl_type): class glx_print_proto(gl_XML.gl_print_base): - def size_call(self, func): + def size_call(self, func, outputs_also = 0): """Create C code to calculate 'compsize'. Creates code to calculate 'compsize'. If the function does @@ -58,7 +58,7 @@ class glx_print_proto(gl_XML.gl_print_base): compsize = None for param in func.parameterIterator(): - if not param.is_output: + if outputs_also or not param.is_output: if param.is_image(): [dim, w, h, d, junk] = param.get_dimensions() |