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 | |
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]>
-rw-r--r-- | src/mapi/glapi/gen/gl_API.xml | 2 | ||||
-rw-r--r-- | src/mesa/main/APIspec.xml | 2 |
2 files changed, 2 insertions, 2 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> 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> |