summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2018-01-26 11:27:59 -0700
committerBrian Paul <[email protected]>2018-01-30 09:07:59 -0700
commitd2d9d090e56a581c93c1b24cc074e5a02272f37e (patch)
treebad2f31b6208887c6395fe53162269a30bf71bcc /src
parente863541e43997cb701067fdc525f75e99b5b187e (diff)
mesa: s/src/attribs/ in _mesa_update_client_array()
Reviewed-by: Gert Wollny <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/varray.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mesa/main/varray.h b/src/mesa/main/varray.h
index 93f2f477faf..19506bf8f0b 100644
--- a/src/mesa/main/varray.h
+++ b/src/mesa/main/varray.h
@@ -55,19 +55,19 @@ _mesa_vertex_attrib_address(const struct gl_array_attributes *array,
static inline void
_mesa_update_client_array(struct gl_context *ctx,
struct gl_vertex_array *dst,
- const struct gl_array_attributes *src,
+ const struct gl_array_attributes *attribs,
const struct gl_vertex_buffer_binding *binding)
{
- dst->Size = src->Size;
- dst->Type = src->Type;
- dst->Format = src->Format;
+ dst->Size = attribs->Size;
+ dst->Type = attribs->Type;
+ dst->Format = attribs->Format;
dst->StrideB = binding->Stride;
- dst->Ptr = _mesa_vertex_attrib_address(src, binding);
- dst->Normalized = src->Normalized;
- dst->Integer = src->Integer;
- dst->Doubles = src->Doubles;
+ dst->Ptr = _mesa_vertex_attrib_address(attribs, binding);
+ dst->Normalized = attribs->Normalized;
+ dst->Integer = attribs->Integer;
+ dst->Doubles = attribs->Doubles;
dst->InstanceDivisor = binding->InstanceDivisor;
- dst->_ElementSize = src->_ElementSize;
+ dst->_ElementSize = attribs->_ElementSize;
_mesa_reference_buffer_object(ctx, &dst->BufferObj, binding->BufferObj);
}