mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 19:50:11 +01:00
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
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue