From 559ed1a41d9aa0da5a61f606da2439905766f44a Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Thu, 25 Aug 2011 17:51:41 -0700 Subject: [PATCH] dri: Silence several "warning: unused parameter" --- src/mesa/drivers/dri/common/depthtmp.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/mesa/drivers/dri/common/depthtmp.h b/src/mesa/drivers/dri/common/depthtmp.h index 81bec9c5ffc..c6e2bb75c16 100644 --- a/src/mesa/drivers/dri/common/depthtmp.h +++ b/src/mesa/drivers/dri/common/depthtmp.h @@ -66,6 +66,8 @@ static void TAG(WriteDepthSpan)( struct gl_context *ctx, #endif } HW_WRITE_UNLOCK(); + + (void) ctx; } @@ -120,6 +122,8 @@ static void TAG(WriteMonoDepthSpan)( struct gl_context *ctx, HW_ENDCLIPLOOP(); } HW_WRITE_UNLOCK(); + + (void) ctx; } #endif @@ -168,6 +172,8 @@ static void TAG(WriteDepthPixels)( struct gl_context *ctx, #endif } HW_WRITE_UNLOCK(); + + (void) ctx; } @@ -238,6 +244,8 @@ static void TAG(ReadDepthPixels)( struct gl_context *ctx, #endif } HW_READ_UNLOCK(); + + (void) ctx; } -- 2.30.2