aboutsummaryrefslogtreecommitdiffstats
path: root/src/gamma-randr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gamma-randr.c')
-rw-r--r--src/gamma-randr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gamma-randr.c b/src/gamma-randr.c
index 388f322..358ab58 100644
--- a/src/gamma-randr.c
+++ b/src/gamma-randr.c
@@ -118,7 +118,7 @@ randr_init(randr_state_t **state)
}
static int
-randr_start(randr_state_t *state)
+randr_start(randr_state_t *state, program_mode_t mode)
{
xcb_generic_error_t *error;
@@ -425,8 +425,8 @@ randr_set_temperature_for_crtc(
}
}
- colorramp_fill(gamma_r, gamma_g, gamma_b, ramp_size,
- setting);
+ colorramp_fill_u16(gamma_r, gamma_g, gamma_b, ramp_size,
+ ramp_size, ramp_size, setting);
/* Set new gamma ramps */
xcb_void_cookie_t gamma_set_cookie =