Revert "randr: Setting gamma: inverse logic looks more sane"
This reverts commit 79138eec1b
.
This commit is contained in:
parent
eb97d125fb
commit
75795637c7
|
@ -353,7 +353,7 @@ xf86CrtcSetModeTransform (xf86CrtcPtr crtc, DisplayModePtr mode, Rotation rotati
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Only upload when needed, to avoid unneeded delays. */
|
/* Only upload when needed, to avoid unneeded delays. */
|
||||||
if (crtc->active)
|
if (!crtc->active)
|
||||||
crtc->funcs->gamma_set(crtc, crtc->gamma_red, crtc->gamma_green,
|
crtc->funcs->gamma_set(crtc, crtc->gamma_red, crtc->gamma_green,
|
||||||
crtc->gamma_blue, crtc->gamma_size);
|
crtc->gamma_blue, crtc->gamma_size);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue