summaryrefslogtreecommitdiff
path: root/src/radeon_modes.c
diff options
context:
space:
mode:
authorAlex Deucher <alex@t41p.hsd1.va.comcast.net>2007-06-28 22:24:04 -0400
committerAlex Deucher <alex@t41p.hsd1.va.comcast.net>2007-06-28 22:24:04 -0400
commit1d4630067d293d26284d5fe230debef3913ec6cf (patch)
tree507a8f3fc865c0e620fbb76741313df307c34b14 /src/radeon_modes.c
parent2754d1ba01fc3367019487e0c0f59d74c950aaa7 (diff)
RADEON: set info->CurrentLayout.displayWidth in RADEONSetPitch()
Diffstat (limited to 'src/radeon_modes.c')
-rw-r--r--src/radeon_modes.c2
1 files changed, 2 insertions, 0 deletions
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