diff options
-rw-r--r-- | src/radeon_driver.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c index bee23f0..ea235c1 100644 --- a/src/radeon_driver.c +++ b/src/radeon_driver.c @@ -2540,6 +2540,7 @@ RADEONCRTCResize(ScrnInfoPtr scrn, int width, int height) { scrn->virtualX = width; scrn->virtualY = height; + RADEONSetPitch(scrn); return TRUE; } @@ -2791,7 +2792,7 @@ _X_EXPORT Bool RADEONPreInit(ScrnInfoPtr pScrn, int flags) ErrorF("after xf86InitialConfiguration\n"); - pScrn->displayWidth = (pScrn->virtualX + 63) & ~63; + RADEONSetPitch(pScrn); /* Set display resolution */ xf86SetDpi(pScrn, 0, 0); |