mesa: consolidate cases in _mesa_components_in_format()
authorBrian Paul <brianp@vmware.com>
Sat, 12 Nov 2011 18:50:32 +0000 (11:50 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 15 Nov 2011 14:49:26 +0000 (07:49 -0700)
commit83863d468e2375696478e3ec83c42aaab9fbc19c
tree33ee0291590f754a3c0f22db84c0be9faefc7fe3
parent6dbf2bac5043564f32cdad08e8d6220618a02080
mesa: consolidate cases in _mesa_components_in_format()

and _mesa_sizeof_packed_type()

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/image.c