r300: Make format names legible.

This commit is contained in:
Corbin Simpson 2009-01-24 04:11:03 -08:00
parent f045988ee1
commit 57b062f775
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}