gallium/aux/util/u_debug_image.c: Silence warnings -Wunused-param

Decorate the according parameters with UNUSED.

Signed-off-by: Gert Wollny <gw.fossdev@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
Gert Wollny 2017-11-16 16:10:00 +01:00 committed by Brian Paul
parent f23f2146cb
commit c7bf83ef5c

View file

@ -47,7 +47,7 @@
*/ */
void void
debug_dump_image(const char *prefix, debug_dump_image(const char *prefix,
enum pipe_format format, unsigned cpp, enum pipe_format format, UNUSED unsigned cpp,
unsigned width, unsigned height, unsigned width, unsigned height,
unsigned stride, unsigned stride,
const void *data) const void *data)
@ -202,7 +202,7 @@ debug_dump_surface_bmp(struct pipe_context *pipe,
} }
void void
debug_dump_transfer_bmp(struct pipe_context *pipe, debug_dump_transfer_bmp(UNUSED struct pipe_context *pipe,
const char *filename, const char *filename,
struct pipe_transfer *transfer, void *ptr) struct pipe_transfer *transfer, void *ptr)
{ {