aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_screen.c
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2009-01-24 04:11:03 -0800
committerCorbin Simpson <[email protected]>2009-02-01 23:30:28 -0800
commit57b062f77551f0111fd210a2d8dd44be6acfc818 (patch)
treeeb3849b2294d95beb79a5dab013fb55800bc2725 /src/gallium/drivers/r300/r300_screen.c
parentf045988ee101fbef77f280f37f56967e6a95c5f2 (diff)
r300: Make format names legible.
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen.c')
-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 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;
}