summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMathias Fröhlich <mathias.froehlich@web.de>2019-04-03 13:28:19 +0200
committerMathias Fröhlich <mathias.froehlich@web.de>2019-05-04 07:40:35 +0200
commit3b6f32907f292efd8d3eb25dc1573ff30e437a0c (patch)
tree1d3c0dbc574d83260e9340bdbd2d29ab95f0bdfb /src
parent68aaf0a4e35da67b2bda5403015c3e1bc26cee25 (diff)
mesa: Constify static const array in api_arrayelt.c
Reviewed-by: Brian Paul <brianp@vmware.com> Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
Diffstat (limited to 'src')
-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 */
{