From: Brian Paul Date: Thu, 7 Aug 2008 19:35:21 +0000 (-0600) Subject: gallium: s/pf_sprint_name/pf_name/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8fb55dab783f2de5111e7440093e1458fce5fb3d;p=mesa.git gallium: s/pf_sprint_name/pf_name/ --- diff --git a/src/gallium/drivers/softpipe/sp_tex_sample.c b/src/gallium/drivers/softpipe/sp_tex_sample.c index 508db5aa619..01f4d0ca811 100644 --- a/src/gallium/drivers/softpipe/sp_tex_sample.c +++ b/src/gallium/drivers/softpipe/sp_tex_sample.c @@ -621,10 +621,9 @@ get_texel(struct tgsi_sampler *sampler, rgba[3][j] = tile->data.color[ty][tx][3]; if (0) { - char fmt[100]; - pf_sprint_name( fmt, sampler->texture->format); debug_printf("Get texel %f %f %f %f from %s\n", - rgba[0][j], rgba[1][j], rgba[2][j], rgba[3][j], fmt); + rgba[0][j], rgba[1][j], rgba[2][j], rgba[3][j], + pf_name(sampler->texture->format)); } } }