diff options
author | Kenneth Graunke <[email protected]> | 2014-02-01 20:48:51 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-02-03 00:53:07 -0800 |
commit | de47fd2668961503bbdaaf1194e7bb435ad5dbb7 (patch) | |
tree | 70ecd5828312061a0a76bf1837b53615d692efa8 /src/mesa/main/attrib.c | |
parent | aac1415b66fafedc50c4346dae2d652723156ed9 (diff) |
mesa: Rename _mesa_..._array_obj functions to _mesa_..._vao.
_mesa_update_vao_client_arrays() is less of a mouthful than
_mesa_update_array_object_client_arrays(), and generally clearer.
Generated by:
$ find . -type f -print0 | xargs -0 sed -i \
's/_mesa_\([^_]*\)_array_object/_mesa_\1_vao/g'
with manual whitespace and indentation fixes applied.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/attrib.c')
-rw-r--r-- | src/mesa/main/attrib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c index 5c31379056c..5b5c48dbdab 100644 --- a/src/mesa/main/attrib.c +++ b/src/mesa/main/attrib.c @@ -1574,7 +1574,7 @@ init_array_attrib_data(struct gl_context *ctx, return false; } - _mesa_initialize_array_object(ctx, attrib->VAO, 0); + _mesa_initialize_vao(ctx, attrib->VAO, 0); return true; } @@ -1589,7 +1589,7 @@ free_array_attrib_data(struct gl_context *ctx, { /* We use a non driver array object, so don't just unref since we would * end up using the drivers DeleteArrayObject function for deletion. */ - _mesa_delete_array_object(ctx, attrib->VAO); + _mesa_delete_vao(ctx, attrib->VAO); attrib->VAO = 0; _mesa_reference_buffer_object(ctx, &attrib->ArrayBufferObj, NULL); } |