diff options
| author | Jonathan Hamilton <jtrhamilton@gmail.com> | 2018-05-17 09:39:39 -0700 |
|---|---|---|
| committer | Jonathan Hamilton <jtrhamilton@gmail.com> | 2018-05-17 09:39:39 -0700 |
| commit | b30d56ccc0a03c41c758afcd47f5d19fa34b0a98 (patch) | |
| tree | 97c14ec8dcea53d3b9a2acf9272678b22d15d67b /Source/Core/VideoBackends/Software/SWmain.cpp | |
| parent | 61a81795e5afe551f5622f146ca52d5331069742 (diff) | |
Texture AverageDiff: Do more in int space and avoid excessive float conversion
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
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWmain.cpp')
0 files changed, 0 insertions, 0 deletions
