Fix endianness bug in _mesa_texstore_argb8888()
authorBrian <brian.paul@tungstengraphics.com>
Wed, 5 Dec 2007 21:53:19 +0000 (14:53 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Wed, 5 Dec 2007 21:53:19 +0000 (14:53 -0700)
commit3eadbe64bf027b7e90167d4980e880c8a01c889f
tree09c84cb5258dca57ac17d4ab861bd4f6997ddcce
parent9df0a6dd9c43be0ee5c300e161a20b2f98acef2d
Fix endianness bug in _mesa_texstore_argb8888()

On big-endian, storing in _mesa_texformat_argb8888 format produced wrong results.
Also, clean-up nearby code to match.
src/mesa/main/texstore.c