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/vbo/vbo_split_inplace.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/vbo/vbo_split_inplace.c')
-rw-r--r-- | src/mesa/vbo/vbo_split_inplace.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/vbo/vbo_split_inplace.c b/src/mesa/vbo/vbo_split_inplace.c index cff4bcd30ff..1430ac98960 100644 --- a/src/mesa/vbo/vbo_split_inplace.c +++ b/src/mesa/vbo/vbo_split_inplace.c @@ -42,7 +42,7 @@ */ struct split_context { struct gl_context *ctx; - const struct gl_client_array **array; + const struct gl_vertex_array **array; const struct _mesa_prim *prim; GLuint nr_prims; const struct _mesa_index_buffer *ib; @@ -63,7 +63,7 @@ struct split_context { static void flush_vertex( struct split_context *split ) { struct gl_context *ctx = split->ctx; - const struct gl_client_array **saved_arrays = ctx->Array._DrawArrays; + const struct gl_vertex_array **saved_arrays = ctx->Array._DrawArrays; struct _mesa_index_buffer ib; GLuint i; @@ -262,7 +262,7 @@ static void split_prims( struct split_context *split) void vbo_split_inplace( struct gl_context *ctx, - const struct gl_client_array *arrays[], + const struct gl_vertex_array *arrays[], const struct _mesa_prim *prim, GLuint nr_prims, const struct _mesa_index_buffer *ib, |