mesa: fix asst. issues in _mesa_texstore_argb8888()
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 10 Oct 2008 22:30:43 +0000 (16:30 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 10 Oct 2008 22:34:08 +0000 (16:34 -0600)
commit24748268a3ac7bedc2c9ae5bf76c4c741d539f80
tree2bdb503e9b8a12429d7d46c19845bf5f21d56173
parentbf9d9a9d01b7697f4a30305cb9574430cba351fa
mesa: fix asst. issues in _mesa_texstore_argb8888()

If we shift bytes into the texel word (or use the PACK_COLOR_8888 macro),
we don't have to worry about big vs. little endian.  See comments about
texel formats in texformat.h.
Remove an unneeded/incorrect else-if clause that produced wrong results
on big-endian systems.
src/mesa/main/texstore.c