From 0d24c34d7fea73a0002a79e995f7c7f30b03a054 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 19 Dec 2016 08:14:23 +0100 Subject: Add coopgamma backend MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/gamma-randr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gamma-randr.c') diff --git a/src/gamma-randr.c b/src/gamma-randr.c index 6fa2bc6..6d9032b 100644 --- a/src/gamma-randr.c +++ b/src/gamma-randr.c @@ -90,7 +90,7 @@ randr_init(randr_state_t *state) } int -randr_start(randr_state_t *state) +randr_start(randr_state_t *state, program_mode_t mode) { xcb_generic_error_t *error; @@ -348,8 +348,8 @@ randr_set_temperature_for_crtc(randr_state_t *state, int crtc_num, } } - 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 = -- cgit v1.2.3-70-g09d2