diff options
author | Brian Paul <[email protected]> | 2012-06-27 10:23:54 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-06-27 15:37:10 -0600 |
commit | 827bdee7d1ec29ce07f35780f7d2262f2fa0acf4 (patch) | |
tree | 6812ec966ca60410dd59a85d88466de8552c7322 /src/mapi/glapi | |
parent | 3588098ed85bbd6bacac5a8dd3774569f1314783 (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/mapi/glapi')
-rw-r--r-- | src/mapi/glapi/gen/gl_API.xml | 2 |
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> |