diff options
author | Mattias Andrée <maandree@kth.se> | 2016-08-05 13:14:23 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-08-05 13:14:23 +0200 |
commit | 712fe1dedc5da104af4b0ac6372059ad6bc36e51 (patch) | |
tree | 78ff997078fcec15487850b091d07d924edd5e9f | |
parent | Fix reexec bug (diff) | |
download | coopgammad-712fe1dedc5da104af4b0ac6372059ad6bc36e51.tar.gz coopgammad-712fe1dedc5da104af4b0ac6372059ad6bc36e51.tar.bz2 coopgammad-712fe1dedc5da104af4b0ac6372059ad6bc36e51.tar.xz |
Fix -p bug
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | src/servers/gamma.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/servers/gamma.c b/src/servers/gamma.c index 04b8856..8f2df15 100644 --- a/src/servers/gamma.c +++ b/src/servers/gamma.c @@ -316,6 +316,10 @@ void store_gamma(void) if (outputs[i].supported == LIBGAMMA_NO) continue; + outputs[i].saved_ramps.u8.red_size = outputs[i].red_size; + outputs[i].saved_ramps.u8.green_size = outputs[i].green_size; + outputs[i].saved_ramps.u8.blue_size = outputs[i].blue_size; + switch (outputs[i].depth) { case 64: LOAD_RAMPS(64, u64); break; |