From 3b6f32907f292efd8d3eb25dc1573ff30e437a0c Mon Sep 17 00:00:00 2001 From: Mathias Fröhlich Date: Wed, 3 Apr 2019 13:28:19 +0200 Subject: mesa: Constify static const array in api_arrayelt.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Brian Paul Signed-off-by: Mathias Fröhlich --- src/mesa/main/api_arrayelt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ { -- cgit v1.2.3