summaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/glX_XML.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/glapi/glX_XML.py')
-rw-r--r--src/mesa/glapi/glX_XML.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/glapi/glX_XML.py b/src/mesa/glapi/glX_XML.py
index 3759e8da02e..1b5c3239e01 100644
--- a/src/mesa/glapi/glX_XML.py
+++ b/src/mesa/glapi/glX_XML.py
@@ -262,7 +262,7 @@ class glx_function(gl_XML.gl_function):
if param.name != self.img_reset:
param.offset = offset
- if not param.is_variable_length():
+ if not param.is_variable_length() and not param.is_client_only:
offset += param.size()
if self.pad_after( param ):
@@ -331,7 +331,7 @@ class glx_function(gl_XML.gl_function):
size = 0
for param in self.parameterIterateGlxSend(0):
- if param.name != self.img_reset:
+ if param.name != self.img_reset and not param.is_client_only:
if size == 0:
size = param.offset + param.size()
else: