summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2014-07-15 00:42:33 +1200
committerScott Mansell <phiren@gmail.com>2014-07-15 21:15:49 +1200
commitb8695a57da067bc1776c8310bb7cd68f5706d320 (patch)
tree1fa855b2e476647ad6cd8319116ad430221eb5f6 /Source/Core/InputCommon/ControllerInterface
parent3ac4e9f171b116d4b09990058c18741598bb2ef8 (diff)
Fix incorrect clamping in SWRenderer.
A previous PR changed a whole lot of min/maxes to std::min/std::max but made a mistake here and used a templated min which cast it's arguments to unsigned instead of casting return value. This resulted in glitchy artifacts in bright areas (See issue 7439) I rewrote the code to use a proper clamping function so it's cleaner to read.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface')
0 files changed, 0 insertions, 0 deletions