Mesa (master): glapi: fix parameter type for GetSamplerParameterIuivEXT() in es_EXT.xml

Brian Paul brianp at kemper.freedesktop.org
Wed May 4 20:50:10 UTC 2016


Module: Mesa
Branch: master
Commit: be5010c4b8635d0292404ac58ed0436ba6637579
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=be5010c4b8635d0292404ac58ed0436ba6637579

Author: Brian Paul <brianp at vmware.com>
Date:   Wed May  4 14:02:30 2016 -0600

glapi: fix parameter type for GetSamplerParameterIuivEXT() in es_EXT.xml

The function returns GLuint, not GLfloat values.

v2: also fix the OES function

Cc: "11.2" <mesa-stable at lists.freedesktop.org>
Reviewed-by: Charmaine Lee <charmainel at vmware.com>
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

---

 src/mapi/glapi/gen/es_EXT.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mapi/glapi/gen/es_EXT.xml b/src/mapi/glapi/gen/es_EXT.xml
index bf67eae..ce4c4c4 100644
--- a/src/mapi/glapi/gen/es_EXT.xml
+++ b/src/mapi/glapi/gen/es_EXT.xml
@@ -901,7 +901,7 @@
     <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>
@@ -1290,7 +1290,7 @@
     <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>




More information about the mesa-commit mailing list