aboutsummaryrefslogtreecommitdiffstats
path: root/src/gamma-quartz.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-12-19 08:14:23 +0100
committerMattias Andrée <maandree@kth.se>2016-12-19 08:14:23 +0100
commit0d24c34d7fea73a0002a79e995f7c7f30b03a054 (patch)
tree01b6394e5f8b39047ed731ce82ffb193edef5b57 /src/gamma-quartz.c
parentMerge pull request #295 from arnej/windowsfix (diff)
downloadredshift-ng-0d24c34d7fea73a0002a79e995f7c7f30b03a054.tar.gz
redshift-ng-0d24c34d7fea73a0002a79e995f7c7f30b03a054.tar.bz2
redshift-ng-0d24c34d7fea73a0002a79e995f7c7f30b03a054.tar.xz
Add coopgamma backend
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/gamma-quartz.c')
-rw-r--r--src/gamma-quartz.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gamma-quartz.c b/src/gamma-quartz.c
index 6691c91..a4fe283 100644
--- a/src/gamma-quartz.c
+++ b/src/gamma-quartz.c
@@ -47,7 +47,7 @@ quartz_init(quartz_state_t *state)
}
int
-quartz_start(quartz_state_t *state)
+quartz_start(quartz_state_t *state, program_mode_t mode)
{
int r;
CGError error;
@@ -208,7 +208,7 @@ quartz_set_temperature_for_display(quartz_state_t *state, int display,
}
colorramp_fill_float(gamma_r, gamma_g, gamma_b, ramp_size,
- setting);
+ ramp_size, ramp_size, setting);
CGError error =
CGSetDisplayTransferByTable(display, ramp_size,