mesa: do a debug check of _mesa_format_to_type_and_comps()
authorBrian Paul <brianp@vmware.com>
Tue, 11 Jan 2011 16:26:03 +0000 (09:26 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 11 Jan 2011 16:27:06 +0000 (09:27 -0700)
commitd92e56460e0b6b6057097fc12c7f947528e58c13
treed722d3554a86a907d7c106c86bd47cb33dbe662b
parent0073f50cd47c48c706b4524364b9c0594804febf
mesa: do a debug check of _mesa_format_to_type_and_comps()

Make sure that all formats are handled in this function.  It's
easy to miss this function when adding new pixel formats.

See also http://bugs.freedesktop.org/show_bug.cgi?id=31544
src/mesa/main/context.c
src/mesa/main/formats.c