diff options
author | Bartosz Taudul <bartosz.taudul@game-lion.com> | 2019-07-01 13:31:06 +0300 |
---|---|---|
committer | Bartosz Taudul <bartosz.taudul@game-lion.com> | 2019-07-01 13:31:06 +0300 |
commit | bdfb56874207ce839d543e52137bc8571b66b5cb (patch) | |
tree | 2130e3d2ae56082c5b6bfb5f0a737c0797a1e125 /extra | |
parent | 684a119a2cdb788bac15ce9c459ef3347fbaf3a4 (diff) |
Fix div tables for max range on all channels.
Diffstat (limited to 'extra')
-rw-r--r-- | extra/dxt1divtable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/dxt1divtable.c b/extra/dxt1divtable.c index 756bc4e1..da415081 100644 --- a/extra/dxt1divtable.c +++ b/extra/dxt1divtable.c @@ -3,7 +3,7 @@ int main() { - for( int i=0; i<255*3; i++ ) + for( int i=0; i<255*3+1; i++ ) { // replace 4 with 2 for ARM NEON table uint32_t range = ( 4 << 16 ) / ( 1+i ); |