[Mesa-dev] [PATCH] glapi: fix parameter type for GetSamplerParameterIuivEXT() in es_EXT.xml

Charmaine Lee charmainel at vmware.com
Wed May 4 20:05:59 UTC 2016


Reviewed-by: Charmaine Lee <charmainel at vmware.com>
________________________________________
From: Brian Paul <brianp at vmware.com>
Sent: Wednesday, May 4, 2016 1:03 PM
To: mesa-dev at lists.freedesktop.org
Cc: Charmaine Lee; Sinclair Yeh
Subject: [PATCH] glapi: fix parameter type for GetSamplerParameterIuivEXT() in es_EXT.xml

The function returns GLuint, not GLfloat values.
---
 src/mapi/glapi/gen/es_EXT.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mapi/glapi/gen/es_EXT.xml b/src/mapi/glapi/gen/es_EXT.xml
index bf67eae..e453401 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>
--
1.9.1



More information about the mesa-dev mailing list