summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Fröhlich <[email protected]>2019-04-03 13:28:19 +0200
committerMathias Fröhlich <[email protected]>2019-05-04 07:40:35 +0200
commit3b6f32907f292efd8d3eb25dc1573ff30e437a0c (patch)
tree1d3c0dbc574d83260e9340bdbd2d29ab95f0bdfb
parent68aaf0a4e35da67b2bda5403015c3e1bc26cee25 (diff)
mesa: Constify static const array in api_arrayelt.c
Reviewed-by: Brian Paul <[email protected]> Signed-off-by: Mathias Fröhlich <[email protected]>
-rw-r--r--src/mesa/main/api_arrayelt.c2
1 files changed, 1 insertions, 1 deletions
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 */
{