From ad6347d187f9afa053c755aa3a2da9d821916cb2 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Tue, 23 Nov 2004 21:27:43 +0000 Subject: Use fp_horz_stretch instead of fp_vert_stretch for horizontal stretch factor calculation in panel size derivation in the Radeon driver (closes: #1881). --- src/radeon_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/radeon_driver.c b/src/radeon_driver.c index abb24f48..68323caa 100644 --- a/src/radeon_driver.c +++ b/src/radeon_driver.c @@ -1325,7 +1325,7 @@ static void RADEONGetPanelInfoFromReg (ScrnInfoPtr pScrn) info->PanelYRes = (INREG(RADEON_CRTC_V_TOTAL_DISP)>>16) + 1; } if (fp_horz_stretch & RADEON_HORZ_STRETCH_ENABLE) { - info->PanelXRes = ((fp_vert_stretch>>16) + 1) * 8; + info->PanelXRes = ((fp_horz_stretch>>16) + 1) * 8; } else { info->PanelXRes = ((INREG(RADEON_CRTC_H_TOTAL_DISP)>>16) + 1) * 8; } -- cgit v1.2.3