diff options
author | Roland Mainz <roland.mainz@nrubsig.org> | 2004-12-16 03:24:11 +0000 |
---|---|---|
committer | Roland Mainz <roland.mainz@nrubsig.org> | 2004-12-16 03:24:11 +0000 |
commit | 471b52a35373b0e638403a1220135b9bc0ca7001 (patch) | |
tree | a31f5ef8114e16eb642359e3f0e43eb00ffdb4ad | |
parent | 94fcff41482b0ba459e3d0d7865447335cbe66a5 (diff) |
//bugs.freedesktop.org/show_bug.cgi?id=1881) attachment #1322
(https://bugs.freedesktop.org/attachment.cgi?id=1322): Fix typo in
radeon driver Patch by Daniel Stone <daniel@freedesktop.org>
-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 a80c318e..86e44111 100644 --- a/src/radeon_driver.c +++ b/src/radeon_driver.c @@ -1311,7 +1311,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; } |