tnl: Silence unused parameter warnings in dump_draw_info
src/mesa/tnl/t_split_copy.c: In function ‘dump_draw_info’: src/mesa/tnl/t_split_copy.c:149:35: warning: unused parameter ‘ctx’ [-Wunused-parameter] 149 | dump_draw_info(struct gl_context *ctx, | ~~~~~~~~~~~~~~~~~~~^~~ src/mesa/tnl/t_split_copy.c:154:23: warning: unused parameter ‘min_index’ [-Wunused-parameter] 154 | GLuint min_index, | ~~~~~~~^~~~~~~~~ src/mesa/tnl/t_split_copy.c:155:23: warning: unused parameter ‘max_index’ [-Wunused-parameter] 155 | GLuint max_index) | ~~~~~~~^~~~~~~~~ Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4512>
This commit is contained in:
parent
114e078001
commit
7a004f7987
|
@ -146,13 +146,10 @@ check_flush(struct copy_context *copy)
|
||||||
* Dump the parameters/info for a vbo->draw() call.
|
* Dump the parameters/info for a vbo->draw() call.
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
dump_draw_info(struct gl_context *ctx,
|
dump_draw_info(const struct tnl_vertex_array *arrays,
|
||||||
const struct tnl_vertex_array *arrays,
|
|
||||||
const struct _mesa_prim *prims,
|
const struct _mesa_prim *prims,
|
||||||
GLuint nr_prims,
|
GLuint nr_prims,
|
||||||
const struct _mesa_index_buffer *ib,
|
const struct _mesa_index_buffer *ib)
|
||||||
GLuint min_index,
|
|
||||||
GLuint max_index)
|
|
||||||
{
|
{
|
||||||
GLuint i, j;
|
GLuint i, j;
|
||||||
|
|
||||||
|
@ -192,13 +189,10 @@ flush(struct copy_context *copy)
|
||||||
copy->dstib.count = copy->dstelt_nr;
|
copy->dstib.count = copy->dstelt_nr;
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
dump_draw_info(copy->ctx,
|
dump_draw_info(copy->dstarray,
|
||||||
copy->dstarray,
|
|
||||||
copy->dstprim,
|
copy->dstprim,
|
||||||
copy->dstprim_nr,
|
copy->dstprim_nr,
|
||||||
©->dstib,
|
©->dstib);
|
||||||
0,
|
|
||||||
copy->dstbuf_nr);
|
|
||||||
#else
|
#else
|
||||||
(void) dump_draw_info;
|
(void) dump_draw_info;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue