Module: Mesa
Branch: master
Commit: 3b6f32907f292efd8d3eb25dc1573ff30e437a0c
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3b6f32907f292efd8d3eb25dc1573ff30e437a0c

Author: Mathias Fröhlich <[email protected]>
Date:   Wed Apr  3 13:28:19 2019 +0200

mesa: Constify static const array in api_arrayelt.c

Reviewed-by: Brian Paul <[email protected]>
Signed-off-by: Mathias Fröhlich <[email protected]>

---

 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 */
       {

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to