mesa: Constify static const array in api_arrayelt.c
authorMathias Fröhlich <mathias.froehlich@web.de>
Wed, 3 Apr 2019 11:28:19 +0000 (13:28 +0200)
committerMathias Fröhlich <mathias.froehlich@web.de>
Sat, 4 May 2019 05:40:35 +0000 (07:40 +0200)
Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
src/mesa/main/api_arrayelt.c

index 81e4f91c45d6ff100b43540fbc3838ebb1a14b85..cd0d64f26f3b3bed3bc0e8334586399e7202fb8d 100644 (file)
@@ -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 */
       {