commit | 24748268a3ac7bedc2c9ae5bf76c4c741d539f80 | [log] [tgz] |
---|---|---|
author | Brian Paul <brian.paul@tungstengraphics.com> | Fri Oct 10 16:30:43 2008 -0600 |
committer | Brian Paul <brian.paul@tungstengraphics.com> | Fri Oct 10 16:34:08 2008 -0600 |
tree | 2bdb503e9b8a12429d7d46c19845bf5f21d56173 | |
parent | bf9d9a9d01b7697f4a30305cb9574430cba351fa [diff] |
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.