diff options
author | Jon Lund Steffensen <jonlst@gmail.com> | 2014-12-28 22:58:54 -0500 |
---|---|---|
committer | Jon Lund Steffensen <jonlst@gmail.com> | 2015-01-04 16:34:33 -0500 |
commit | 9b299132ef8912910df5a90b1628cc3af1efc54d (patch) | |
tree | c72a130835c069e060b24781675cee8b5dd531e2 /src/gamma-quartz.h | |
parent | redshift: Add gamma_is_valid function to check gamma (diff) | |
download | redshift-ng-9b299132ef8912910df5a90b1628cc3af1efc54d.tar.gz redshift-ng-9b299132ef8912910df5a90b1628cc3af1efc54d.tar.bz2 redshift-ng-9b299132ef8912910df5a90b1628cc3af1efc54d.tar.xz |
colorramp: Use supplied gamma ramps as initial value
This changes colorramp_fill() to base the ramp calculations on the
existing values in the supplied tables, instead of basing it on a pure
`i/size` value computed on the fly.
All gamma adjustment methods are changed to explicitly initialize the ramps
to the `i/size` value before calls to colorramp_fill().
Diffstat (limited to 'src/gamma-quartz.h')
0 files changed, 0 insertions, 0 deletions