summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2011-08-19 08:55:19 -0700
committerIan Romanick <[email protected]>2011-09-09 12:01:51 -0700
commitaaa305215cbbf150c6bd0b2c92122f52720fe25a (patch)
treeb348b422dfae97c5a1d7f5e2d6fd62758a147056 /src/mesa/main
parent2d4b8e296f7f60e704bfcdec79c86cc1c013d7b9 (diff)
mesa: Silence "main/teximage.h:148:72: warning: unused parameter ‘texObj’"
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/teximage.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/teximage.h b/src/mesa/main/teximage.h
index 19abc649898..8ef1d4560ae 100644
--- a/src/mesa/main/teximage.h
+++ b/src/mesa/main/teximage.h
@@ -147,6 +147,7 @@ _mesa_lock_texture(struct gl_context *ctx, struct gl_texture_object *texObj)
static INLINE void
_mesa_unlock_texture(struct gl_context *ctx, struct gl_texture_object *texObj)
{
+ (void) texObj;
_glthread_UNLOCK_MUTEX(ctx->Shared->TexMutex);
}