mesa: fix some incorrect error checks in _mesa_error_check_format_type()
authorBrian Paul <brianp@vmware.com>
Fri, 7 Aug 2009 15:18:04 +0000 (09:18 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 7 Aug 2009 15:50:38 +0000 (09:50 -0600)
commit2dec62405f9e2e46997046a32211f25ba83d2600
tree0c5291e4c43d12b75a202d1f9211b784d9ed7a47
parent3335b847bf1e1ee9e77600bd7122eb56ffbc8c07
mesa: fix some incorrect error checks in _mesa_error_check_format_type()

Plus, simplify the code a bit.
src/mesa/main/readpix.c