From: Ian Romanick Date: Fri, 26 Aug 2011 00:51:41 +0000 (-0700) Subject: dri: Silence several "warning: unused parameter" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=559ed1a41d9aa0da5a61f606da2439905766f44a;p=mesa.git dri: Silence several "warning: unused parameter" --- 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; }