From: Brian Date: Wed, 7 Feb 2007 23:09:13 +0000 (-0700) Subject: s/%f/%g/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c5e6bf63e6f8256c9e10bbbe8fb7a38de9d22921;p=mesa.git s/%f/%g/ --- diff --git a/src/mesa/shader/prog_print.c b/src/mesa/shader/prog_print.c index 6c303de9b5a..0adb589daab 100644 --- a/src/mesa/shader/prog_print.c +++ b/src/mesa/shader/prog_print.c @@ -429,7 +429,7 @@ _mesa_print_parameter_list(const struct gl_program_parameter_list *list) for (i = 0; i < list->NumParameters; i++){ struct gl_program_parameter *param = list->Parameters + i; const GLfloat *v = list->ParameterValues[i]; - _mesa_printf("param[%d] sz=%d %s %s = {%.3f, %.3f, %.3f, %.3f};\n", + _mesa_printf("param[%d] sz=%d %s %s = {%.3g, %.3g, %.3g, %.3g};\n", i, param->Size, program_file_string(list->Parameters[i].Type), param->Name, v[0], v[1], v[2], v[3]);