diff options
author | Brian Paul <[email protected]> | 2016-10-19 17:58:44 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-10-28 09:25:29 -0700 |
commit | 910bc4d12cdc2b5743ad379fddee45c8b0112762 (patch) | |
tree | 520c0173cebbaf9ec7594b0ae671af9afde128c5 /src/mesa/main/bufferobj.c | |
parent | 129da274261b6e79f459e24428591f137bf92ed1 (diff) |
mesa: rename gl_vertex_array_object::VertexBinding to BufferBinding
To be a little more understandable.
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/main/bufferobj.c')
-rw-r--r-- | src/mesa/main/bufferobj.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c index 885a99decf4..865b526eb8f 100644 --- a/src/mesa/main/bufferobj.c +++ b/src/mesa/main/bufferobj.c @@ -1203,10 +1203,10 @@ unbind(struct gl_context *ctx, struct gl_vertex_array_object *vao, unsigned index, struct gl_buffer_object *obj) { - if (vao->VertexBinding[index].BufferObj == obj) { + if (vao->BufferBinding[index].BufferObj == obj) { _mesa_bind_vertex_buffer(ctx, vao, index, ctx->Shared->NullBufferObj, - vao->VertexBinding[index].Offset, - vao->VertexBinding[index].Stride); + vao->BufferBinding[index].Offset, + vao->BufferBinding[index].Stride); } } @@ -1304,7 +1304,7 @@ _mesa_DeleteBuffers(GLsizei n, const GLuint *ids) _mesa_buffer_unmap_all_mappings(ctx, bufObj); /* unbind any vertex pointers bound to this buffer */ - for (j = 0; j < ARRAY_SIZE(vao->VertexBinding); j++) { + for (j = 0; j < ARRAY_SIZE(vao->BufferBinding); j++) { unbind(ctx, vao, j, bufObj); } |