diff options
Diffstat (limited to 'src/gamma-vidmode.c')
-rw-r--r-- | src/gamma-vidmode.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gamma-vidmode.c b/src/gamma-vidmode.c index 13ac50d..7f8434c 100644 --- a/src/gamma-vidmode.c +++ b/src/gamma-vidmode.c @@ -153,7 +153,7 @@ vidmode_restore(struct gamma_state *state) static int vidmode_set_temperature( - struct gamma_state *state, const struct color_setting *setting, int preserve) + struct gamma_state *state, const struct colour_setting *setting, int preserve) { uint16_t value, *gamma_ramps, *gamma_r, *gamma_g, *gamma_b; int r, i; @@ -178,8 +178,7 @@ vidmode_set_temperature( } } - colorramp_fill_u16(gamma_r, gamma_g, gamma_b, state->ramp_size, - state->ramp_size, state->ramp_size, setting); + colourramp_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, |