diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-03-26 17:18:47 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-03-26 17:18:47 -0400 |
commit | 47134ca77988f8c3b42d55ac4fcbb5dc182878d4 (patch) | |
tree | e8dd3e5a66459c421d8704f3a41fdf8f9f60812e /src | |
parent | e2b5e48e2652daf03fcae852d8368f29ea4abcd9 (diff) |
radeon: re-enable r/g/b intensity attributes for overlay
Noticed by sroland on IRC.
Diffstat (limited to 'src')
-rw-r--r-- | src/radeon_video.c | 6 |
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; |