xserver: Branch 'master'
Maarten Maathuis
madman2003 at kemper.freedesktop.org
Wed Dec 17 15:19:37 PST 2008
hw/xfree86/modes/xf86Crtc.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 1001403301001fcc84ce6833938590956df40d2a
Author: Maarten Maathuis <madman2003 at gmail.com>
Date: Thu Dec 18 00:19:06 2008 +0100
Forgot to fix a comment.
diff --git a/hw/xfree86/modes/xf86Crtc.c b/hw/xfree86/modes/xf86Crtc.c
index 7c9bb5a..c710b06 100644
--- a/hw/xfree86/modes/xf86Crtc.c
+++ b/hw/xfree86/modes/xf86Crtc.c
@@ -2273,8 +2273,7 @@ xf86CrtcSetInitialGamma(xf86CrtcPtr crtc, float gamma_red, float gamma_green,
memcpy (crtc->gamma_green, green, crtc->gamma_size * sizeof (CARD16));
memcpy (crtc->gamma_blue, blue, crtc->gamma_size * sizeof (CARD16));
- /* Use copied values, the perfect way to test if all went well. */
-
+ /* Do not set gamma now, delay until the crtc is activated. */
free(red);
More information about the xorg-commit
mailing list