summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2016-08-25 16:59:01 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2016-10-06 15:03:46 +0100
commit0216a16819f86bc9030c9bf4d8f377833e6e33dd (patch)
treea63db2bde02177cc84913391aac2d2f9ad66e29c /src/mesa/main
parent0728e2bb17040af808e2645fedfcf0d8739b2b96 (diff)
downloadexternal_mesa3d-0216a16819f86bc9030c9bf4d8f377833e6e33dd.zip
external_mesa3d-0216a16819f86bc9030c9bf4d8f377833e6e33dd.tar.gz
external_mesa3d-0216a16819f86bc9030c9bf4d8f377833e6e33dd.tar.bz2
mesa: annotate AttribFuncsARB[] as const
It's read-only data, so annotate it accordingly. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Diffstat (limited to 'src/mesa/main')
-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 c84db5f..15fbb8c 100644
--- a/src/mesa/main/api_arrayelt.c
+++ b/src/mesa/main/api_arrayelt.c
@@ -1288,7 +1288,7 @@ VertexAttribL4dv(GLuint index, const GLdouble *v)
* Array [unnormalized/normalized/integer][size][type] of VertexAttrib
* functions
*/
-static attrib_func AttribFuncsARB[4][4][NUM_TYPES] = {
+static const attrib_func AttribFuncsARB[4][4][NUM_TYPES] = {
{
/* non-normalized */
{