summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2014-02-01 22:04:13 -0800
committerKenneth Graunke <[email protected]>2014-02-03 00:53:16 -0800
commit595bcf38a6620cc6b69b170bd5c48ace720dd607 (patch)
tree184b0a357548ec73db08f42bdab9b64a252609d5 /src
parent4323b92479db30e6a2bdf0ac73c2816e410bc1c6 (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')
-rw-r--r--src/mesa/main/arrayobj.c1
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);