From 12cbe995edbbf2791459579918486413965d4bf0 Mon Sep 17 00:00:00 2001 From: Fredrik Höglund Date: Wed, 3 Apr 2013 22:08:47 +0200 Subject: mesa: Rename gl_array_object::VertexAttrib to _VertexAttrib This will become derived state as part of the ARB_vertex_attrib_binding support. Reviewed-by: Eric Anholt Reviewed-by: Ian Romanick --- src/mesa/main/attrib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/main/attrib.c') diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c index ca617f7446b..87c7f66eb11 100644 --- a/src/mesa/main/attrib.c +++ b/src/mesa/main/attrib.c @@ -1369,8 +1369,8 @@ copy_array_object(struct gl_context *ctx, /* In theory must be the same anyway, but on recreate make sure it matches */ dest->ARBsemantics = src->ARBsemantics; - for (i = 0; i < Elements(src->VertexAttrib); i++) - _mesa_copy_client_array(ctx, &dest->VertexAttrib[i], &src->VertexAttrib[i]); + for (i = 0; i < Elements(src->_VertexAttrib); i++) + _mesa_copy_client_array(ctx, &dest->_VertexAttrib[i], &src->_VertexAttrib[i]); /* _Enabled must be the same than on push */ dest->_Enabled = src->_Enabled; -- cgit v1.2.3