mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-04 16:50:31 +01:00
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:
parent
f23f2146cb
commit
c7bf83ef5c
1 changed files with 2 additions and 2 deletions
|
|
@ -47,7 +47,7 @@
|
|||
*/
|
||||
void
|
||||
debug_dump_image(const char *prefix,
|
||||
enum pipe_format format, unsigned cpp,
|
||||
enum pipe_format format, UNUSED unsigned cpp,
|
||||
unsigned width, unsigned height,
|
||||
unsigned stride,
|
||||
const void *data)
|
||||
|
|
@ -202,7 +202,7 @@ debug_dump_surface_bmp(struct pipe_context *pipe,
|
|||
}
|
||||
|
||||
void
|
||||
debug_dump_transfer_bmp(struct pipe_context *pipe,
|
||||
debug_dump_transfer_bmp(UNUSED struct pipe_context *pipe,
|
||||
const char *filename,
|
||||
struct pipe_transfer *transfer, void *ptr)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue