randr: Setting gamma: inverse logic looks more sane

This commit is contained in:
Matthias Hopf 2009-03-10 16:03:26 +01:00
parent 22a33a7250
commit 79138eec1b

View File

@ -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);