From 0f361e9e80a29d287fa42436c32c657e3c102539 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Thu, 28 Jun 2007 23:08:07 -0400 Subject: RADEON: fix corruption after 3D apps run --- src/radeon_driver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/radeon_driver.c b/src/radeon_driver.c index 048175b5..655e8ee6 100644 --- a/src/radeon_driver.c +++ b/src/radeon_driver.c @@ -2540,7 +2540,7 @@ RADEONCRTCResize(ScrnInfoPtr scrn, int width, int height) { scrn->virtualX = width; scrn->virtualY = height; - RADEONSetPitch(scrn); + /* RADEONSetPitch(scrn); */ return TRUE; } @@ -2792,7 +2792,7 @@ _X_EXPORT Bool RADEONPreInit(ScrnInfoPtr pScrn, int flags) ErrorF("after xf86InitialConfiguration\n"); - RADEONSetPitch(pScrn); + RADEONSetPitch(pScrn); /* Set display resolution */ xf86SetDpi(pScrn, 0, 0); -- cgit v1.2.3