gallium: s/pf_sprint_name/pf_name/
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 7 Aug 2008 19:35:21 +0000 (13:35 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 7 Aug 2008 19:35:21 +0000 (13:35 -0600)
src/gallium/drivers/softpipe/sp_tex_sample.c

index 508db5aa619b7a24d20a53713aab7695786bcfdb..01f4d0ca811d6e06323a5cc9e01efb9680606a95 100644 (file)
@@ -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));
       }
    }
 }