From: José Fonseca Date: Sun, 14 Feb 2010 13:25:06 +0000 (+0000) Subject: trace: Use util_format_name(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6f5e0539dc681b800bd08d14221751d0f3484280;p=mesa.git trace: Use util_format_name(). --- diff --git a/src/gallium/drivers/trace/tr_dump_state.c b/src/gallium/drivers/trace/tr_dump_state.c index 0e485dbae5a..7cbf7052875 100644 --- a/src/gallium/drivers/trace/tr_dump_state.c +++ b/src/gallium/drivers/trace/tr_dump_state.c @@ -28,6 +28,7 @@ #include "pipe/p_compiler.h" #include "util/u_memory.h" +#include "util/u_format.h" #include "tgsi/tgsi_dump.h" #include "tr_dump.h" @@ -39,7 +40,7 @@ void trace_dump_format(enum pipe_format format) if (!trace_dumping_enabled_locked()) return; - trace_dump_enum(pf_name(format) ); + trace_dump_enum(util_format_name(format) ); }