Please sign in to comment.
Texture AverageDiff: Do more in int space and avoid excessive float c…
…onversion Multiplying 2x 8bit values is guaranteed to fit in 16bits, 4 channels then in 18bits, which means an 'int' shouild be sufficient to avoid overflows
- Loading branch information...
Showing with 5 additions and 4 deletions.