mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 07:38:22 +02:00
Forgot to fix a comment.
This commit is contained in:
parent
9fa15bef59
commit
1001403301
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue