Mesa (master): mesa: Fix broken call to print_table_stats
Ian Romanick
idr at kemper.freedesktop.org
Thu Sep 19 22:15:47 UTC 2013
Module: Mesa
Branch: master
Commit: 7db6b5aa91aaa279ed9a4319d4bf37c3d551a1d3
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7db6b5aa91aaa279ed9a4319d4bf37c3d551a1d3
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Sep 10 11:43:56 2013 -0500
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 at intel.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Reviewed-by: Paul Berry <stereotype441 at gmail.com>
---
src/mesa/main/get.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
index 34eb6be..d9499cc 100644
--- a/src/mesa/main/get.c
+++ b/src/mesa/main/get.c
@@ -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
}
More information about the mesa-commit
mailing list