aboutsummaryrefslogtreecommitdiffstats
path: root/src/gamma-quartz.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2025-03-05 09:14:17 +0100
committerMattias Andrée <m@maandree.se>2025-03-05 09:14:17 +0100
commit6c518351ef1a7fc144d3689165fbe582d1ee72fc (patch)
treedaf5f57999a889a14506de4af7136d025476d338 /src/gamma-quartz.c
parentUpdate my e-mail address (diff)
parentAdd coopgamma backend (diff)
downloadredshift-ng-6c518351ef1a7fc144d3689165fbe582d1ee72fc.tar.gz
redshift-ng-6c518351ef1a7fc144d3689165fbe582d1ee72fc.tar.bz2
redshift-ng-6c518351ef1a7fc144d3689165fbe582d1ee72fc.tar.xz
Merge branch 'coopgamma' of https://github.com/maandree/redshift
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 adbf823..74ceaf0 100644
--- a/src/gamma-quartz.c
+++ b/src/gamma-quartz.c
@@ -62,7 +62,7 @@ quartz_init(quartz_state_t **state)
}
static int
-quartz_start(quartz_state_t *state)
+quartz_start(quartz_state_t *state, program_mode_t mode)
{
CGError error;
uint32_t display_count;
@@ -221,7 +221,7 @@ quartz_set_temperature_for_display(
}
colorramp_fill_float(gamma_r, gamma_g, gamma_b, ramp_size,
- setting);
+ ramp_size, ramp_size, setting);
CGError error =
CGSetDisplayTransferByTable(display, ramp_size,