glapi: fix parameter type for GetSamplerParameterIuivEXT() in es_EXT.xml
authorBrian Paul <brianp@vmware.com>
Wed, 4 May 2016 20:02:30 +0000 (14:02 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 4 May 2016 20:49:39 +0000 (14:49 -0600)
The function returns GLuint, not GLfloat values.

v2: also fix the OES function

Cc: "11.2" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/mapi/glapi/gen/es_EXT.xml

index bf67eae40d48c690350432699e9dedd1eb616c93..ce4c4c49bed0d45439fbe55c75f1a02abd53b73f 100644 (file)
     <function name="GetSamplerParameterIuivEXT" es2="3.0" alias="GetSamplerParameterIuiv">
       <param name="sampler" type="GLuint"/>
       <param name="pname" type="GLenum"/>
-      <param name="params" type="GLfloat *"/>
+      <param name="params" type="GLuint *"/>
     </function>
 
 </category>
     <function name="GetSamplerParameterIuivOES" es2="3.0" alias="GetSamplerParameterIuiv">
       <param name="sampler" type="GLuint"/>
       <param name="pname" type="GLenum"/>
-      <param name="params" type="GLfloat *"/>
+      <param name="params" type="GLuint *"/>
     </function>
 
 </category>