Revert "randr: Setting gamma: inverse logic looks more sane"

This reverts commit 79138eec1b.
This commit is contained in:
Matthias Hopf 2009-06-02 18:41:36 +02:00
parent eb97d125fb
commit 75795637c7

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