aboutsummaryrefslogtreecommitdiffstats
path: root/src/gamma-w32gdi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gamma-w32gdi.c')
-rw-r--r--src/gamma-w32gdi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gamma-w32gdi.c b/src/gamma-w32gdi.c
index c518fe6..a4d4a60 100644
--- a/src/gamma-w32gdi.c
+++ b/src/gamma-w32gdi.c
@@ -49,7 +49,7 @@ w32gdi_init(w32gdi_state_t *state)
}
int
-w32gdi_start(w32gdi_state_t *state)
+w32gdi_start(w32gdi_state_t *state, program_mode_t mode)
{
BOOL r;
@@ -183,8 +183,8 @@ w32gdi_set_temperature(w32gdi_state_t *state,
}
}
- colorramp_fill(gamma_r, gamma_g, gamma_b, GAMMA_RAMP_SIZE,
- setting);
+ colorramp_fill_u16(gamma_r, gamma_g, gamma_b, GAMMA_RAMP_SIZE,
+ GAMMA_RAMP_SIZE, GAMMA_RAMP_SIZE, setting);
/* Set new gamma ramps */
r = SetDeviceGammaRamp(hDC, gamma_ramps);