aboutsummaryrefslogtreecommitdiffstats
path: root/src/colorramp.c
diff options
context:
space:
mode:
authorJon Lund Steffensen <jonlst@gmail.com>2010-06-21 22:23:08 +0200
committerJon Lund Steffensen <jonlst@gmail.com>2010-06-21 22:23:08 +0200
commitf450dd4a19d47bc4054a3c3500dca6253f6c4ba5 (patch)
treefe99e3e92e3c634926044d9d7bd7477bbd858e0a /src/colorramp.c
parentUpdate po files. (diff)
downloadredshift-ng-f450dd4a19d47bc4054a3c3500dca6253f6c4ba5.tar.gz
redshift-ng-f450dd4a19d47bc4054a3c3500dca6253f6c4ba5.tar.bz2
redshift-ng-f450dd4a19d47bc4054a3c3500dca6253f6c4ba5.tar.xz
Change comment in colorramp.c.
Diffstat (limited to 'src/colorramp.c')
-rw-r--r--src/colorramp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/colorramp.c b/src/colorramp.c
index a154a9e..7241a8d 100644
--- a/src/colorramp.c
+++ b/src/colorramp.c
@@ -130,7 +130,7 @@ void
colorramp_fill(uint16_t *gamma_r, uint16_t *gamma_g, uint16_t *gamma_b,
int size, int temp, float gamma[3])
{
- /* Calculate white point */
+ /* Approximate white point */
float white_point[3];
float alpha = (temp % 100) / 100.0;
int temp_index = ((temp - 1000) / 100)*3;