commit | 06735863719e08b44edebddcb97861f867bdc01d | [log] [tgz] |
---|---|---|
author | Jack Palevich <jackpal@google.com> | Tue Feb 02 22:50:39 2010 -0800 |
committer | Jack Palevich <jackpal@google.com> | Tue Feb 02 22:50:39 2010 -0800 |
tree | 91e438f772441a3905dd0db43b0cdc8647bdcfa2 | |
parent | 3107535d15b5b8f0d01d76fb8804cf92d8223ce0 [diff] |
Fix ETC1 texture decoding. etc1_decode_image requires the stride argument to be in bytes, but the surface->stride field is in pixels. Convert by multiplying by pixel size.