mesa: don't print pointer in _mesa_fprint_parameter_list()
authorBrian Paul <brianp@vmware.com>
Tue, 13 Oct 2009 22:18:06 +0000 (16:18 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 13 Oct 2009 22:33:36 +0000 (16:33 -0600)
src/mesa/shader/prog_print.c

index a2bed079004d94074c1e21bbd9913621c1924808..ba4d39452f4cb4b088cee5ca602aaaa0be351ab4 100644 (file)
@@ -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;