summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@benzedrine.nwnk.net>2006-09-14 18:33:00 -0400
committerAdam Jackson <ajax@benzedrine.nwnk.net>2006-09-14 18:33:00 -0400
commitfa8ef7166839a7435e0017683f3e3c7f7904b285 (patch)
tree12b205a0ee51b4152ad1bff4055a1347f48e1be9
parent511c60bc7399b07c267d686a969880e5ec92408a (diff)
Don't translate monitor gamma to X gamma.
The X gamma is used to set the output ramp of the card. Setting a 2.2 output gamma going into a 2.2 monitor gives an effective gamma of 4.84, which is very much not what you want.
-rw-r--r--hw/xfree86/ddc/ddcProperty.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/hw/xfree86/ddc/ddcProperty.c b/hw/xfree86/ddc/ddcProperty.c
index ed7fb167a..a4f4f4ece 100644
--- a/hw/xfree86/ddc/ddcProperty.c
+++ b/hw/xfree86/ddc/ddcProperty.c
@@ -303,12 +303,6 @@ xf86DDCMonitorSet(int scrnIndex, MonPtr Monitor, xf86MonPtr DDC)
Monitor->DDC = DDC;
- if (DDC->features.gamma > 0.0) {
- Monitor->gamma.red = DDC->features.gamma;
- Monitor->gamma.green = DDC->features.gamma;
- Monitor->gamma.blue = DDC->features.gamma;
- }
-
Monitor->widthmm = 10 * DDC->features.hsize;
Monitor->heightmm = 10 * DDC->features.vsize;