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/state_tracker/st_draw.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/state_tracker/st_draw.c')
-rw-r--r-- | src/mesa/state_tracker/st_draw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_draw.c b/src/mesa/state_tracker/st_draw.c index e9f25b625fd..c1a1d2d1419 100644 --- a/src/mesa/state_tracker/st_draw.c +++ b/src/mesa/state_tracker/st_draw.c @@ -71,7 +71,7 @@ * only interested in per-vertex data. See bug 38626. */ static GLboolean -all_varyings_in_vbos(const struct gl_client_array *arrays[]) +all_varyings_in_vbos(const struct gl_vertex_array *arrays[]) { GLuint i; @@ -187,7 +187,7 @@ st_draw_vbo(struct gl_context *ctx, struct st_context *st = st_context(ctx); struct pipe_index_buffer ibuffer = {0}; struct pipe_draw_info info; - const struct gl_client_array **arrays = ctx->Array._DrawArrays; + const struct gl_vertex_array **arrays = ctx->Array._DrawArrays; unsigned i; /* Mesa core state should have been validated already */ |