diff options
author | Alex Deucher <alex@t41p.hsd1.va.comcast.net> | 2007-06-28 22:24:04 -0400 |
---|---|---|
committer | Alex Deucher <alex@t41p.hsd1.va.comcast.net> | 2007-06-28 22:24:04 -0400 |
commit | 1d4630067d293d26284d5fe230debef3913ec6cf (patch) | |
tree | 507a8f3fc865c0e620fbb76741313df307c34b14 | |
parent | 2754d1ba01fc3367019487e0c0f59d74c950aaa7 (diff) |
RADEON: set info->CurrentLayout.displayWidth in RADEONSetPitch()
-rw-r--r-- | src/radeon_driver.c | 2 | ||||
-rw-r--r-- | src/radeon_modes.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c index 42565e45..048175b5 100644 --- a/src/radeon_driver.c +++ b/src/radeon_driver.c @@ -2810,8 +2810,6 @@ _X_EXPORT Bool RADEONPreInit(ScrnInfoPtr pScrn, int flags) if (!RADEONPreInitXv(pScrn)) goto fail; - info->CurrentLayout.displayWidth = pScrn->displayWidth; - if (!xf86RandR12PreInit (pScrn)) { xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "RandR initialization failure\n"); diff --git a/src/radeon_modes.c b/src/radeon_modes.c index 6952dd53..66d8a7fb 100644 --- a/src/radeon_modes.c +++ b/src/radeon_modes.c @@ -74,6 +74,8 @@ void RADEONSetPitch (ScrnInfoPtr pScrn) break; } pScrn->displayWidth = dummy; + info->CurrentLayout.displayWidth = pScrn->displayWidth; + } /* This is used only when no mode is specified for FP and no ddc is |