summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stone <daniel@freedesktop.org>2004-11-23 21:27:43 +0000
committerDaniel Stone <daniel@freedesktop.org>2004-11-23 21:27:43 +0000
commit008abeb4566d6a231cef2651346e6b8542991c54 (patch)
tree8139ea5a6ebf7234031b951ed0a03701210866b2
parentb459adfed4782b04b07377e85ca945e089d77ca9 (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 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;
}