From: Mathias Fröhlich Date: Wed, 3 Apr 2019 11:28:19 +0000 (+0200) Subject: mesa: Constify static const array in api_arrayelt.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3b6f32907f292efd8d3eb25dc1573ff30e437a0c;p=mesa.git mesa: Constify static const array in api_arrayelt.c Reviewed-by: Brian Paul Signed-off-by: Mathias Fröhlich --- diff --git a/src/mesa/main/api_arrayelt.c b/src/mesa/main/api_arrayelt.c index 81e4f91c45d..cd0d64f26f3 100644 --- a/src/mesa/main/api_arrayelt.c +++ b/src/mesa/main/api_arrayelt.c @@ -486,7 +486,7 @@ VertexAttrib4dvNV(GLuint index, const GLdouble *v) /* * Array [size][type] of VertexAttrib functions */ -static attrib_func AttribFuncsNV[2][4][NUM_TYPES] = { +static const attrib_func AttribFuncsNV[2][4][NUM_TYPES] = { { /* non-normalized */ {