diff options
author | Brian Paul <[email protected]> | 2016-10-26 09:33:49 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-10-28 09:25:30 -0700 |
commit | c538846e313c43858fb118db012b592513c0ed29 (patch) | |
tree | 6135053f2f97c58a680462a523471db4b3095802 /src/mesa/main/varray.c | |
parent | 161db1335b8dd1f3e2a9abbe82d3b8921d2da314 (diff) |
mesa: rename gl_client_array -> gl_vertex_array
The term "client array" is a legacy thing dating back to the pre-VBO
era when _all_ vertex arrays lived in client memory.
Nowadays, it only contains vertex array state which is derived from
gl_array_attributes and gl_vertex_buffer_binding. It's used by the
VBO module and some drivers.
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/main/varray.c')
-rw-r--r-- | src/mesa/main/varray.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c index 59f1779b0c5..656cb3479c7 100644 --- a/src/mesa/main/varray.c +++ b/src/mesa/main/varray.c @@ -2313,8 +2313,8 @@ _mesa_VertexArrayBindingDivisor(GLuint vaobj, GLuint bindingIndex, */ void _mesa_copy_client_array(struct gl_context *ctx, - struct gl_client_array *dst, - struct gl_client_array *src) + struct gl_vertex_array *dst, + struct gl_vertex_array *src) { dst->Size = src->Size; dst->Type = src->Type; |