summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-06-27 10:23:54 -0600
committerBrian Paul <[email protected]>2012-06-27 15:37:10 -0600
commit827bdee7d1ec29ce07f35780f7d2262f2fa0acf4 (patch)
tree6812ec966ca60410dd59a85d88466de8552c7322 /src/mesa/main
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 <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/APIspec.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/APIspec.xml b/src/mesa/main/APIspec.xml
index 64e666effd6..f870cf7db64 100644
--- a/src/mesa/main/APIspec.xml
+++ b/src/mesa/main/APIspec.xml
@@ -2946,7 +2946,7 @@
<return type="void"/>
<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 int *"/>
</proto>
</template>