[Mesa-dev] [PATCH 13/17] mesa: Fix broken call to print_table_stats
Ian Romanick
idr at freedesktop.org
Tue Sep 10 12:11:00 PDT 2013
From: Ian Romanick <ian.d.romanick at intel.com>
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>
---
src/mesa/main/get.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
index ae45bf8..2f3d352 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
}
--
1.8.1.4
More information about the mesa-dev
mailing list