diff options
author | Kenneth Graunke <[email protected]> | 2014-02-01 22:04:13 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-02-03 00:53:16 -0800 |
commit | 595bcf38a6620cc6b69b170bd5c48ace720dd607 (patch) | |
tree | 184b0a357548ec73db08f42bdab9b64a252609d5 /src/mesa/main | |
parent | 4323b92479db30e6a2bdf0ac73c2816e410bc1c6 (diff) |
mesa: Drop unnecessary (void) ctx from VAO code.
ctx is always used, even on release builds.
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')
-rw-r--r-- | src/mesa/main/arrayobj.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/main/arrayobj.c b/src/mesa/main/arrayobj.c index acb1bf75a0b..b33ba8016a3 100644 --- a/src/mesa/main/arrayobj.c +++ b/src/mesa/main/arrayobj.c @@ -117,7 +117,6 @@ _mesa_new_vao(struct gl_context *ctx, GLuint name) void _mesa_delete_vao(struct gl_context *ctx, struct gl_vertex_array_object *obj) { - (void) ctx; unbind_array_object_vbos(ctx, obj); _mesa_reference_buffer_object(ctx, &obj->IndexBufferObj, NULL); _glthread_DESTROY_MUTEX(obj->Mutex); |