mesa: Drop unnecessary (void) ctx from VAO code.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 2 Feb 2014 06:04:13 +0000 (22:04 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 3 Feb 2014 08:53:16 +0000 (00:53 -0800)
ctx is always used, even on release builds.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/arrayobj.c

index acb1bf75a0b194fc6bd56663cbdfff180835c39c..b33ba8016a3ea40615d729622eb5a5220f89192f 100644 (file)
@@ -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);