diff options
author | Mattias Andrée <m@maandree.se> | 2025-03-05 09:14:17 +0100 |
---|---|---|
committer | Mattias Andrée <m@maandree.se> | 2025-03-05 09:14:17 +0100 |
commit | 6c518351ef1a7fc144d3689165fbe582d1ee72fc (patch) | |
tree | daf5f57999a889a14506de4af7136d025476d338 /src/gamma-randr.c | |
parent | Update my e-mail address (diff) | |
parent | Add coopgamma backend (diff) | |
download | redshift-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-randr.c')
-rw-r--r-- | src/gamma-randr.c | 6 |
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 = |