diff options
author | Maarten Maathuis <madman2003@gmail.com> | 2008-12-18 00:19:06 +0100 |
---|---|---|
committer | Maarten Maathuis <madman2003@gmail.com> | 2008-12-18 00:19:06 +0100 |
commit | 1001403301001fcc84ce6833938590956df40d2a (patch) | |
tree | 197b0f4ee5151c253a67f92429194c0e2a69b1ab /hw/xfree86/modes | |
parent | 9fa15bef59881bdcf087889f16ab3c8d953da8f1 (diff) |
Forgot to fix a comment.
Diffstat (limited to 'hw/xfree86/modes')
-rw-r--r-- | hw/xfree86/modes/xf86Crtc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/xfree86/modes/xf86Crtc.c b/hw/xfree86/modes/xf86Crtc.c index 7c9bb5a10..c710b060e 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); |