aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/servers/gamma.c4
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;