summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2009-01-24 04:11:03 -0800
committerCorbin Simpson <MostAwesomeDude@gmail.com>2009-02-01 23:30:28 -0800
commit57b062f77551f0111fd210a2d8dd44be6acfc818 (patch)
treeeb3849b2294d95beb79a5dab013fb55800bc2725
parentf045988ee101fbef77f280f37f56967e6a95c5f2 (diff)
r300: Make format names legible.
-rw-r--r--src/gallium/drivers/r300/r300_screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c
index 6de97a79e1..607dfe911c 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;
}