From: Emil Velikov Date: Thu, 25 Aug 2016 15:59:01 +0000 (+0100) Subject: mesa: annotate AttribFuncsARB[] as const X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0216a16819f86bc9030c9bf4d8f377833e6e33dd;p=mesa.git mesa: annotate AttribFuncsARB[] as const It's read-only data, so annotate it accordingly. Signed-off-by: Emil Velikov Reviewed-by: Eric Engestrom --- diff --git a/src/mesa/main/api_arrayelt.c b/src/mesa/main/api_arrayelt.c index c84db5f97f6..15fbb8c9bae 100644 --- a/src/mesa/main/api_arrayelt.c +++ b/src/mesa/main/api_arrayelt.c @@ -1288,7 +1288,7 @@ VertexAttribL4dv(GLuint index, const GLdouble *v) * Array [unnormalized/normalized/integer][size][type] of VertexAttrib * functions */ -static attrib_func AttribFuncsARB[4][4][NUM_TYPES] = { +static const attrib_func AttribFuncsARB[4][4][NUM_TYPES] = { { /* non-normalized */ {