aboutsummaryrefslogtreecommitdiffstats
path: root/redshift.1
diff options
context:
space:
mode:
authorJon Lund Steffensen <jonlst@gmail.com>2013-10-21 15:26:47 -0400
committerJon Lund Steffensen <jonlst@gmail.com>2013-10-21 15:29:18 -0400
commit95d8a3f7600073b4abe869078cf3db1d8497c60a (patch)
tree12ee842fcf733f8eb3978280e24c44226d470183 /redshift.1
parentFix slight wobble in temperature caused by float. (diff)
downloadredshift-ng-95d8a3f7600073b4abe869078cf3db1d8497c60a.tar.gz
redshift-ng-95d8a3f7600073b4abe869078cf3db1d8497c60a.tar.bz2
redshift-ng-95d8a3f7600073b4abe869078cf3db1d8497c60a.tar.xz
colorramp: Fix slight flicker caused by improper scaling of gamma ramp values
Values generated by colorramp_fill() will be a maximum of i * 256 - 1, due to the use of UINT16_MAX. Simplest fix ought to be using (UINT16_MAX+1), which is safe, as the maximum value (255 * 256) still fits in a uint16. (Thanks to Sean Hildebrand)
Diffstat (limited to 'redshift.1')
0 files changed, 0 insertions, 0 deletions