summaryrefslogtreecommitdiff
path: root/progs/rbug/tex_dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/rbug/tex_dump.c')
-rw-r--r--progs/rbug/tex_dump.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/progs/rbug/tex_dump.c b/progs/rbug/tex_dump.c
index 963f8eeede..dd30d30908 100644
--- a/progs/rbug/tex_dump.c
+++ b/progs/rbug/tex_dump.c
@@ -29,6 +29,7 @@
#include "util/u_debug.h"
#include "util/u_format.h"
#include "util/u_network.h"
+#include "util/u_string.h"
#include "util/u_tile.h"
#include "rbug/rbug.h"
@@ -48,7 +49,7 @@ static void dump(rbug_texture_t tex,
char filename[512];
util_snprintf(filename, 512, "%llu_%s_%u.bmp",
- (unsigned long long)tex, pf_name(info->format), mip);
+ (unsigned long long)tex, util_format_name(info->format), mip);
if (util_format_is_compressed(info->format)) {
debug_printf("skipping: %s\n", filename);