i915: Use _mesa_get_format_name to describe translate_tex_format() fail.
authorEric Anholt <eric@anholt.net>
Mon, 11 Jul 2011 18:34:56 +0000 (11:34 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 12 Jul 2011 21:40:43 +0000 (14:40 -0700)
commit9a82d89a8fafde1b65c0843e022e99864b6d56b1
tree85fa746cf60bd8dfb2fb2eadc97004a01537be17
parent6e6b38860488a0b2b282866f095cea9860503a14
i915: Use _mesa_get_format_name to describe translate_tex_format() fail.

I don't want to go count up to what format number 29 is.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i915/i830_texstate.c
src/mesa/drivers/dri/i915/i915_texstate.c