diff options
author | Marek Olšák <[email protected]> | 2013-01-29 20:58:55 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-02-11 19:43:01 +0100 |
commit | 5587c8619a5501181fc47df53cc4bbdac1576b41 (patch) | |
tree | 3beeee9cb091901ef031ec884f51f6b71742520e /src/mesa/main/texstore.c | |
parent | dcdffaaf43fbca6e6a2e9418c8eeddb70a001d3d (diff) |
mesa: adjust usage of swapBytes/littleEndian in format_matches_format_and_type
- swapBytes has no effect on 8-bit single-component formats
- GL_SHORT is in host byte order, so checking for littleEndian is unnecessary,
I decided to make the change for single-component formats only
Based on suggestions from Michel Dänzer.
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/mesa/main/texstore.c')
0 files changed, 0 insertions, 0 deletions