From: Kenneth Graunke Date: Sun, 2 Feb 2014 06:04:13 +0000 (-0800) Subject: mesa: Drop unnecessary (void) ctx from VAO code. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=595bcf38a6620cc6b69b170bd5c48ace720dd607;p=mesa.git mesa: Drop unnecessary (void) ctx from VAO code. ctx is always used, even on release builds. Signed-off-by: Kenneth Graunke Reviewed-by: Jordan Justen Reviewed-by: Ian Romanick Reviewed-by: Brian Paul --- 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);