diff options
Diffstat (limited to 'src/gamma-vidmode.c')
-rw-r--r-- | src/gamma-vidmode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gamma-vidmode.c b/src/gamma-vidmode.c index f88925a..b462480 100644 --- a/src/gamma-vidmode.c +++ b/src/gamma-vidmode.c @@ -61,6 +61,8 @@ vidmode_start(struct gamma_state *state, enum program_mode mode) int major, minor; uint16_t *gamma_r, *gamma_g, *gamma_b; + (void) mode; + if (screen_num < 0) screen_num = DefaultScreen(state->display); state->screen_num = screen_num; |