From 74f4ed4275866475b3c182fae962df2fc0946b85 Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Mon, 13 Mar 2006 02:57:17 +0000 Subject: Fix typo in the function setting the color space transformation factors for old radeon --- src/radeon_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/radeon_video.c') diff --git a/src/radeon_video.c b/src/radeon_video.c index 3f571f4c..891defca 100644 --- a/src/radeon_video.c +++ b/src/radeon_video.c @@ -928,7 +928,7 @@ static void RADEONSetTransform (ScrnInfoPtr pScrn, dwOvGOff = ((INT32)(OvGOff * 2.0)) & 0x1fff; dwOvBOff = ((INT32)(OvBOff * 2.0)) & 0x1fff; - if(info->ChipFamily < CHIP_FAMILY_RADEON) + if(info->ChipFamily == CHIP_FAMILY_RADEON) { dwOvLuma =(((INT32)(OvLuma * 2048.0))&0x7fff)<<17; dwOvRCb = (((INT32)(OvRCb * 2048.0))&0x7fff)<<1; -- cgit v1.2.3