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>
This commit is contained in:
Emil Velikov 2016-08-25 16:59:01 +01:00 committed by Emil Velikov
parent 0728e2bb17
commit 0216a16819

View file

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