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.
This commit is contained in:
parent
511c60bc73
commit
fa8ef71668
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue