randr: Setting gamma: inverse logic looks more sane
This commit is contained in:
parent
22a33a7250
commit
79138eec1b
|
@ -353,7 +353,7 @@ xf86CrtcSetModeTransform (xf86CrtcPtr crtc, DisplayModePtr mode, Rotation rotati
|
|||
}
|
||||
|
||||
/* 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->gamma_blue, crtc->gamma_size);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user