Fix endianness bug in _mesa_texstore_argb8888()
authorBrian <brian.paul@tungstengraphics.com>
Wed, 5 Dec 2007 22:06:23 +0000 (15:06 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Wed, 5 Dec 2007 22:06:23 +0000 (15:06 -0700)
commit259eacfa94a1086e4c99db83516989cc27832ef4
tree5fa172444591b667b3b8e93b90628b638d1ea4bc
parent2407e48f2805e27e76e2e1d7083926c4077d9032
Fix endianness bug in _mesa_texstore_argb8888()

On big-endian, storing in _mesa_texformat_argb8888 format produced wrong res
Also, clean-up nearby code to match.

picked from gallium-0.1 branch
src/mesa/main/texstore.c