diff options
| author | Jon Lund Steffensen <jonlst@gmail.com> | 2013-12-09 11:06:04 -0500 | 
|---|---|---|
| committer | Jon Lund Steffensen <jonlst@gmail.com> | 2013-12-09 12:28:45 -0500 | 
| commit | a4f7cf89ebd158d9e93bcdcb7a3709fd2a4a8e37 (patch) | |
| tree | 6a68ea400a7905dfc39e4d4393e01d22f133a993 /src/colorramp.c | |
| parent | When in print mode do not start a gamma method (diff) | |
| download | redshift-ng-a4f7cf89ebd158d9e93bcdcb7a3709fd2a4a8e37.tar.gz redshift-ng-a4f7cf89ebd158d9e93bcdcb7a3709fd2a4a8e37.tar.bz2 redshift-ng-a4f7cf89ebd158d9e93bcdcb7a3709fd2a4a8e37.tar.xz | |
Constify gamma parameter to set_temperature() methods
Diffstat (limited to 'src/colorramp.c')
| -rw-r--r-- | src/colorramp.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/colorramp.c b/src/colorramp.c index 158f7cd..cd43e7b 100644 --- a/src/colorramp.c +++ b/src/colorramp.c @@ -282,7 +282,7 @@ interpolate_color(float a, const float *c1, const float *c2, float *c)  void  colorramp_fill(uint16_t *gamma_r, uint16_t *gamma_g, uint16_t *gamma_b, -	       int size, int temp, float brightness, float gamma[3]) +	       int size, int temp, float brightness, const float gamma[3])  {  	/* Approximate white point */  	float white_point[3]; | 
