dolphin/Source/UnitTests/Common
Scott Mansell b8695a57da 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.
2014-07-15 21:15:49 +12:00
..
BitFieldTest.cpp BitFieldTest: fix warnings 2014-04-19 18:31:35 +02:00
CMakeLists.txt Common: Move the Event class to a separate file, and add tests for it. Fix includes everywhere to match this. 2014-04-14 10:54:07 +02:00
CommonFuncsTest.cpp Remove the min/max functions in CommonFuncs. 2014-05-29 21:44:41 -04:00
EventTest.cpp Common: Move the Event class to a separate file, and add tests for it. Fix includes everywhere to match this. 2014-04-14 10:54:07 +02:00
FifoQueueTest.cpp Tests: fix signed/unsigned comparison warning 2014-03-17 02:55:58 +01:00
FixedSizeQueueTest.cpp Tests: fix signed/unsigned comparison warning 2014-03-17 02:55:58 +01:00
FlagTest.cpp Common::Flag: Add support for TestAndSet + test by implementing basic spinlocks. 2014-04-14 23:13:15 +02:00
MathUtilTest.cpp Fix incorrect clamping in SWRenderer. 2014-07-15 21:15:49 +12:00