nsxiv91d9b31
change gamma on -G
+1 −1
1 file changed
- M image.c +1 −1
| @@ -70,7 +70,7 @@ void img_init(img_t *img, win_t *win) | |||
| 70 | 70 | ||
| 71 | 71 | img->cmod = imlib_create_color_modifier(); | |
| 72 | 72 | imlib_context_set_color_modifier(img->cmod); | |
| 73 | − | img->gamma = MIN(MAX(options->gamma, -GAMMA_RANGE), GAMMA_RANGE); | |
| 73 | + | img_change_gamma(img, options->gamma); | |
| 74 | 74 | ||
| 75 | 75 | img->ss.on = options->slideshow > 0; | |
| 76 | 76 | img->ss.delay = options->slideshow > 0 ? options->slideshow : SLIDESHOW_DELAY * 10; | |