summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2013-09-10 11:43:56 -0500
committerIan Romanick <ian.d.romanick@intel.com>2013-09-19 17:15:09 -0500
commit7db6b5aa91aaa279ed9a4319d4bf37c3d551a1d3 (patch)
tree39e7cb302c83500788c34446ec5d73208c07fbbf /src/mesa
parentb4cf56cdf81226ad801d8bf98bb1dad83536f016 (diff)
downloadexternal_mesa3d-7db6b5aa91aaa279ed9a4319d4bf37c3d551a1d3.zip
external_mesa3d-7db6b5aa91aaa279ed9a4319d4bf37c3d551a1d3.tar.gz
external_mesa3d-7db6b5aa91aaa279ed9a4319d4bf37c3d551a1d3.tar.bz2
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>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/get.c4
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
}