summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sna/sna_display.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index 9821c596..92563008 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -6661,6 +6661,7 @@ static void crtc_init_gamma(xf86CrtcPtr crtc)
crtc->gamma_red = gamma;
crtc->gamma_green = gamma + 256;
crtc->gamma_blue = gamma + 2*256;
+ crtc->gamma_size = 256;
}
}
}