mesa: use swapBytes parameter in _mesa_format_matches_format_and_type()
authorBrian Paul <brianp@vmware.com>
Fri, 27 Jan 2012 03:01:12 +0000 (20:01 -0700)
committerBrian Paul <brianp@vmware.com>
Sat, 28 Jan 2012 01:21:44 +0000 (18:21 -0700)
commit51aab798a3386cc1493fe879802f693ca1fa565e
tree207b4a0f1ab8a525282844d46af335cedeb45bba
parent06aa607ba76d940c48556935259c2a34eac7a8dc
mesa: use swapBytes parameter in _mesa_format_matches_format_and_type()

This will let us use memcpy in more situations.  We can also remove
the checks for byte spapping that happen before the calls to
_mesa_format_matches_format_and_type().

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/formats.c