From: Brian Paul Date: Wed, 27 Jun 2012 16:23:54 +0000 (-0600) Subject: glapi: add const qualifier to glShaderSourceARB() parameter X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=827bdee7d1ec29ce07f35780f7d2262f2fa0acf4;p=mesa.git 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 --- 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 @@ - + 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 @@ - +