summaryrefslogtreecommitdiff
path: root/src/mapi/glapi/gen/gl_API.xml
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2012-06-27 10:23:54 -0600
committerBrian Paul <brianp@vmware.com>2012-06-27 15:37:10 -0600
commit827bdee7d1ec29ce07f35780f7d2262f2fa0acf4 (patch)
tree6812ec966ca60410dd59a85d88466de8552c7322 /src/mapi/glapi/gen/gl_API.xml
parent3588098ed85bbd6bacac5a8dd3774569f1314783 (diff)
glapi: add const qualifier to glShaderSourceARB() parameter
Fixes the es2 build with gcc. Note: in glext.h the prototypes for glShaderSource() and glShaderSourceARB() disagree: only the former has the extra const qualifier. Reviewed-by: José Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'src/mapi/glapi/gen/gl_API.xml')
-rw-r--r--src/mapi/glapi/gen/gl_API.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml
index af051355642..2140a40833c 100644
--- a/src/mapi/glapi/gen/gl_API.xml
+++ b/src/mapi/glapi/gen/gl_API.xml
@@ -5363,7 +5363,7 @@
<function name="ShaderSource" alias="ShaderSourceARB">
<param name="shader" type="GLuint"/>
<param name="count" type="GLsizei"/>
- <param name="string" type="const GLchar **"/>
+ <param name="string" type="const GLchar * const *"/>
<param name="length" type="const GLint *"/>
<glx ignore="true"/>
</function>