st/mesa: fix format logic in compatible_src_dst_formats()
authorBrian Paul <brianp@vmware.com>
Wed, 20 Jan 2010 15:03:46 +0000 (08:03 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 20 Jan 2010 15:09:53 +0000 (08:09 -0700)
commit65d2a266375cf32fd90c7fb77fb87993d3a652ea
tree721336fe61470c0d0034ee7e0d8cb6fe92399c21
parent4e34c5d0b5ef36d4a107e93653937f7715ce2c5a
st/mesa: fix format logic in compatible_src_dst_formats()

We need to consider the user-requested formats, not the actual device-
chosen formats.  See code comments for more details.
src/mesa/state_tracker/st_cb_texture.c