summaryrefslogtreecommitdiff
path: root/src/radeon_video.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/radeon_video.c')
-rw-r--r--src/radeon_video.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/radeon_video.c b/src/radeon_video.c
index a2a4696d..42aa0361 100644
--- a/src/radeon_video.c
+++ b/src/radeon_video.c
@@ -1067,11 +1067,11 @@ static void RADEONSetTransform (ScrnInfoPtr pScrn,
OvGCr = CAdjGCr * gamma_curve_r100[gamma].OvGammaCont;
OvBCb = CAdjBCb * gamma_curve_r100[gamma].OvGammaCont;
OvBCr = CAdjBCr * gamma_curve_r100[gamma].OvGammaCont;
- OvROff = CAdjOff * gamma_curve_r100[gamma].OvGammaCont -
+ OvROff = RedAdj + CAdjOff * gamma_curve_r100[gamma].OvGammaCont -
OvLuma * Loff - (OvRCb + OvRCr) * Coff;
- OvGOff = CAdjOff * gamma_curve_r100[gamma].OvGammaCont -
+ OvGOff = GreenAdj + CAdjOff * gamma_curve_r100[gamma].OvGammaCont -
OvLuma * Loff - (OvGCb + OvGCr) * Coff;
- OvBOff = CAdjOff * gamma_curve_r100[gamma].OvGammaCont -
+ OvBOff = BlueAdj + CAdjOff * gamma_curve_r100[gamma].OvGammaCont -
OvLuma * Loff - (OvBCb + OvBCr) * Coff;
#if 0 /* default constants */
OvROff = -888.5;