summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/attrib.c
diff options
context:
space:
mode:
authorFredrik Höglund <fredrik@kde.org>2013-04-03 22:08:47 +0200
committerFredrik Höglund <fredrik@kde.org>2013-11-07 16:20:45 +0100
commit12cbe995edbbf2791459579918486413965d4bf0 (patch)
tree435305af174b4679ad51b93aa1afa514fff1b322 /src/mesa/main/attrib.c
parentd5543213f2b8d9db823c12a2adf4cd6138e94e4d (diff)
downloadexternal_mesa3d-12cbe995edbbf2791459579918486413965d4bf0.zip
external_mesa3d-12cbe995edbbf2791459579918486413965d4bf0.tar.gz
external_mesa3d-12cbe995edbbf2791459579918486413965d4bf0.tar.bz2
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 <eric@anholt.net> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'src/mesa/main/attrib.c')
-rw-r--r--src/mesa/main/attrib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c
index ca617f7..87c7f66 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;