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:
Ian Romanick 2013-09-10 11:43:56 -05:00
parent b4cf56cdf8
commit 7db6b5aa91
1 changed files with 3 additions and 1 deletions

View File

@ -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
}