summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-10-13 16:18:06 -0600
committerBrian Paul <[email protected]>2009-10-13 16:33:36 -0600
commitdfefde38c7dfe70a3531cb85215e55eeb6407180 (patch)
tree52986495a6c4b79cb6ac3a98e7b0194c58af097e
parentf058b25881e08c9d89a33345e5c84e1357396932 (diff)
mesa: don't print pointer in _mesa_fprint_parameter_list()
-rw-r--r--src/mesa/shader/prog_print.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/shader/prog_print.c b/src/mesa/shader/prog_print.c
index a2bed079004..ba4d39452f4 100644
--- a/src/mesa/shader/prog_print.c
+++ b/src/mesa/shader/prog_print.c
@@ -906,7 +906,8 @@ _mesa_fprint_parameter_list(FILE *f,
if (!list)
return;
- _mesa_fprintf(f, "param list %p\n", (void *) list);
+ if (0)
+ _mesa_fprintf(f, "param list %p\n", (void *) list);
_mesa_fprintf(f, "dirty state flags: 0x%x\n", list->StateFlags);
for (i = 0; i < list->NumParameters; i++){
struct gl_program_parameter *param = list->Parameters + i;