diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-08-07 13:35:21 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-08-07 13:35:21 -0600 |
commit | 8fb55dab783f2de5111e7440093e1458fce5fb3d (patch) | |
tree | 4f04940a372e874f6377e049937c67e24ef2ca10 /src/gallium/drivers | |
parent | 275b09f2569c8bea5dcca1643c93aa6a43d7e2a2 (diff) |
gallium: s/pf_sprint_name/pf_name/
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_tex_sample.c | 5 |
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)); } } } |