glthread: add support for glCallLists, glPatchParameterfv
[mesa.git] / src / mapi / glapi / gen / gl_API.xml
index ff4bd8144d7d9d630aafc561aca24a980b23111b..e9f2713ac9d84d8622588e373cf6f40de4443c5f 100644 (file)
     <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>