From cc14286930ede79f747d9c00bb54d9c175a2ade6 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Tue, 30 May 2017 21:01:00 -0700 Subject: meta/blit: Silence unused parameter warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit drivers/common/meta_blit.c: In function ‘setup_glsl_msaa_blit_scaled_shader’: drivers/common/meta_blit.c:62:58: warning: unused parameter ‘filter’ [-Wunused-parameter] GLenum target, GLenum filter) ^~~~~~ Signed-off-by: Ian Romanick Reviewed-by: Jason Ekstrand --- src/mesa/drivers/common/meta_blit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/drivers') diff --git a/src/mesa/drivers/common/meta_blit.c b/src/mesa/drivers/common/meta_blit.c index e8719a3a770..7adad469ace 100644 --- a/src/mesa/drivers/common/meta_blit.c +++ b/src/mesa/drivers/common/meta_blit.c @@ -59,7 +59,7 @@ static void setup_glsl_msaa_blit_scaled_shader(struct gl_context *ctx, struct blit_state *blit, struct gl_renderbuffer *src_rb, - GLenum target, GLenum filter) + GLenum target) { GLint loc_src_width, loc_src_height; int i, samples; @@ -581,7 +581,7 @@ setup_glsl_blit_framebuffer(struct gl_context *ctx, 2, texcoord_size, 0); if (is_target_multisample && is_filter_scaled_resolve && is_scaled_blit) { - setup_glsl_msaa_blit_scaled_shader(ctx, blit, src_rb, target, filter); + setup_glsl_msaa_blit_scaled_shader(ctx, blit, src_rb, target); } else if (is_target_multisample) { setup_glsl_msaa_blit_shader(ctx, blit, drawFb, src_rb, target); } else { -- cgit v1.2.3