From: Corbin Simpson Date: Sat, 24 Jan 2009 12:11:03 +0000 (-0800) Subject: r300: Make format names legible. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=57b062f77551f0111fd210a2d8dd44be6acfc818;p=mesa.git r300: Make format names legible. --- diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c index 6de97a79e16..607dfe911c6 100644 --- a/src/gallium/drivers/r300/r300_screen.c +++ b/src/gallium/drivers/r300/r300_screen.c @@ -184,8 +184,8 @@ static boolean check_tex_2d_format(enum pipe_format format) case PIPE_FORMAT_I8_UNORM: return TRUE; default: - debug_printf("r300: Warning: Got unknown format: %d, in %s\n", - format, __FUNCTION__); + debug_printf("r300: Warning: Got unknown format: %s, in %s\n", + pf_name(format), __FUNCTION__); break; }