diff options
author | Daniel Stone <daniel@fooishbar.org> | 2004-11-23 21:27:43 +0000 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2004-11-23 21:27:43 +0000 |
commit | ad6347d187f9afa053c755aa3a2da9d821916cb2 (patch) | |
tree | 8139ea5a6ebf7234031b951ed0a03701210866b2 /src | |
parent | ac054e427c6ce8cd5b89459dd3f16ca20e6b2d6a (diff) |
Use fp_horz_stretch instead of fp_vert_stretch for horizontal stretch
factor calculation in panel size derivation in the Radeon driver
(closes: #1881).
Diffstat (limited to 'src')
-rw-r--r-- | src/radeon_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c index abb24f4..68323ca 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; } |