mesa: Fix broken call to print_table_stats
The function takes a parameter, but none was given. Also, in the non-GET_DEBUG case, silence the unused parameter warning. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Paul Berry <stereotype441@gmail.com>
This commit is contained in:
parent
b4cf56cdf8
commit
7db6b5aa91
|
@ -508,7 +508,9 @@ print_table_stats(int api)
|
|||
void _mesa_init_get_hash(struct gl_context *ctx)
|
||||
{
|
||||
#ifdef GET_DEBUG
|
||||
print_table_stats();
|
||||
print_table_stats(ctx->API);
|
||||
#else
|
||||
(void) ctx;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue