diff options
Diffstat (limited to 'src/gamma-vidmode.c')
-rw-r--r-- | src/gamma-vidmode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gamma-vidmode.c b/src/gamma-vidmode.c index c9682d2..96fe43c 100644 --- a/src/gamma-vidmode.c +++ b/src/gamma-vidmode.c @@ -57,7 +57,7 @@ vidmode_init(vidmode_state_t *state) } int -vidmode_start(vidmode_state_t *state) +vidmode_start(vidmode_state_t *state, program_mode_t mode) { int r; int screen_num = state->screen_num; @@ -202,8 +202,8 @@ vidmode_set_temperature(vidmode_state_t *state, } } - colorramp_fill(gamma_r, gamma_g, gamma_b, state->ramp_size, - setting); + colorramp_fill_u16(gamma_r, gamma_g, gamma_b, state->ramp_size, + state->ramp_size, state->ramp_size, setting); /* Set new gamma ramps */ r = XF86VidModeSetGammaRamp(state->display, state->screen_num, |