aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorGert Wollny <[email protected]>2017-11-16 16:09:53 +0100
committerBrian Paul <[email protected]>2017-11-17 09:27:57 -0700
commit2049c635ee78b7c5d48cb6821b23eccbd1f475eb (patch)
treea93a884c78b9d121a47444c98b0b29c6d4804917 /src/gallium/auxiliary
parent0b984188f980830b8385f1c0a81ea7852c230b5d (diff)
gallium/aux/util/u_blit.c: Fix -Wunused-param warnings
Annotate the parameters accordingly. v2: move UNUSED decoration in front of parameter declaration Signed-off-by: Gert Wollny <[email protected]> v1: Reviewed-by: Brian Paul <[email protected]> (v1)
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/util/u_blit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_blit.c b/src/gallium/auxiliary/util/u_blit.c
index 3e49667029a..3f92476f0c0 100644
--- a/src/gallium/auxiliary/util/u_blit.c
+++ b/src/gallium/auxiliary/util/u_blit.c
@@ -371,7 +371,7 @@ util_blit_pixels(struct blit_state *ctx,
struct pipe_surface *dst,
int dstX0, int dstY0,
int dstX1, int dstY1,
- float z, uint filter,
+ MAYBE_UNUSED float z, uint filter,
uint writemask)
{
struct pipe_context *pipe = ctx->pipe;