summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Hopf <mhopf@suse.de>2009-03-10 16:03:26 +0100
committerMatthias Hopf <mhopf@suse.de>2009-05-20 12:43:24 +0200
commit79138eec1b49cbaca6a16f2bdd8579b5828aeb28 (patch)
tree9a7cb789d3845ba95f82914e4525b32d79273e94
parent22a33a7250f879b8f3eb84176a1dc57027d8cfe4 (diff)
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 0ab2f3df9..353b26874 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);