pixel_checker: Move sRGB conversion into get_limits()
authorSøren Sandmann Pedersen <ssp@redhat.com>
Sun, 26 Aug 2012 22:13:47 +0000 (18:13 -0400)
committerSøren Sandmann Pedersen <ssp@redhat.com>
Sun, 26 Aug 2012 22:13:47 +0000 (18:13 -0400)
commit8577daba04e60c1b4c44ce01c6874a573952913a
tree74b01b39960b57e4fddad04a01a1f9b9eafce9bb
parent62eb6e5e054da498e38da80ba8143f0a069b0c17
pixel_checker: Move sRGB conversion into get_limits()

The sRGB conversion has to be done every time the limits are being
computed. Without this fix, pixel_checker_get_min/max() will produce
the wrong results when called from somewhere other than
pixel_checker_check().
test/utils.c