diff options
author | Vinson Lee <[email protected]> | 2010-02-17 22:55:16 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-02-17 22:55:16 -0800 |
commit | 8266f1e5a5a2f066e4dd0e7bf3273d6edcbff760 (patch) | |
tree | b6c1483757e0637f467bb0e3031b60d04743d012 /progs/rbug/tex_info.c | |
parent | 20a11722a2d4453c614381004b683993428de30e (diff) |
progs/rbug: Use util_format_name().
Diffstat (limited to 'progs/rbug/tex_info.c')
-rw-r--r-- | progs/rbug/tex_info.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/progs/rbug/tex_info.c b/progs/rbug/tex_info.c index 4a21bae3596..60ed9e2149a 100644 --- a/progs/rbug/tex_info.c +++ b/progs/rbug/tex_info.c @@ -24,6 +24,7 @@ #include "pipe/p_compiler.h" #include "pipe/p_format.h" +#include "util/u_format.h" #include "util/u_memory.h" #include "util/u_debug.h" #include "util/u_network.h" @@ -60,7 +61,7 @@ static void talk() info = (struct rbug_proto_texture_info_reply *)header; debug_printf("%llu %s %u x %u x %u, block(%ux%u %u), last_level: %u, nr_samples: %u, usage: %u\n", - (unsigned long long)list->textures[i], pf_name(info->format), + (unsigned long long)list->textures[i], util_format_name(info->format), info->width[0], info->height[0], info->depth[0], info->blockw, info->blockh, info->blocksize, info->last_level, info->nr_samples, info->tex_usage); |