aboutsummaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapi/glapi')
-rw-r--r--src/mapi/glapi/gen/ARB_tessellation_shader.xml2
-rw-r--r--src/mapi/glapi/gen/gl_API.xml3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/mapi/glapi/gen/ARB_tessellation_shader.xml b/src/mapi/glapi/gen/ARB_tessellation_shader.xml
index d0b03750eaf..696dfe42581 100644
--- a/src/mapi/glapi/gen/ARB_tessellation_shader.xml
+++ b/src/mapi/glapi/gen/ARB_tessellation_shader.xml
@@ -56,7 +56,7 @@
</function>
<function name="PatchParameterfv">
<param name="pname" type="GLenum"/>
- <param name="values" type="const GLfloat *"/>
+ <param name="values" type="const GLfloat *" count="_mesa_patch_param_enum_to_count(pname)"/>
</function>
<function name="PatchParameteriEXT" es2="3.1" alias="PatchParameteri">
diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml
index ff4bd8144d7..e9f2713ac9d 100644
--- a/src/mapi/glapi/gen/gl_API.xml
+++ b/src/mapi/glapi/gen/gl_API.xml
@@ -1127,7 +1127,8 @@
<function name="CallLists" deprecated="3.1">
<param name="n" type="GLsizei" counter="true"/>
<param name="type" type="GLenum"/>
- <param name="lists" type="const GLvoid *" variable_param="type" count="n"/>
+ <param name="lists" type="const GLvoid *" variable_param="type" count="n"
+ marshal_count="(n * _mesa_calllists_enum_to_count(type))"/>
<glx rop="2" large="true"/>
</function>