summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-08-07 13:35:21 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-08-07 13:35:21 -0600
commit8fb55dab783f2de5111e7440093e1458fce5fb3d (patch)
tree4f04940a372e874f6377e049937c67e24ef2ca10 /src/gallium/drivers
parent275b09f2569c8bea5dcca1643c93aa6a43d7e2a2 (diff)
gallium: s/pf_sprint_name/pf_name/
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/softpipe/sp_tex_sample.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/drivers/softpipe/sp_tex_sample.c b/src/gallium/drivers/softpipe/sp_tex_sample.c
index 508db5aa61..01f4d0ca81 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));
}
}
}