Forgot to fix a comment.
This commit is contained in:
parent
9fa15bef59
commit
1001403301
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user