summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2004-11-23 21:27:43 +0000
committerDaniel Stone <daniel@fooishbar.org>2004-11-23 21:27:43 +0000
commitad6347d187f9afa053c755aa3a2da9d821916cb2 (patch)
tree8139ea5a6ebf7234031b951ed0a03701210866b2
parentac054e427c6ce8cd5b89459dd3f16ca20e6b2d6a (diff)
Use fp_horz_stretch instead of fp_vert_stretch for horizontal stretchxprint_packagertest_20041125_basexprint_packagertest_20041125
factor calculation in panel size derivation in the Radeon driver (closes: #1881).
-rw-r--r--src/radeon_driver.c2
1 files changed, 1 insertions, 1 deletions
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;
}