summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Hopf <mhopf@suse.de>2009-06-02 18:41:36 +0200
committerMatthias Hopf <mhopf@suse.de>2009-06-02 18:41:36 +0200
commit75795637c7160f1579dbe81c2d7600e85b1d141f (patch)
treee5331596709f17bb450b6ff7f7795e8b979d2155
parenteb97d125fb6adeff0b23c2460108e0587ba253e2 (diff)
Revert "randr: Setting gamma: inverse logic looks more sane"
-rw-r--r--hw/xfree86/modes/xf86Crtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/modes/xf86Crtc.c b/hw/xfree86/modes/xf86Crtc.c
index 353b26874..0ab2f3df9 100644
--- a/hw/xfree86/modes/xf86Crtc.c
+++ b/hw/xfree86/modes/xf86Crtc.c
@@ -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);