summaryrefslogtreecommitdiff
path: root/src/radeon_driver.c
diff options
context:
space:
mode:
authorAlex Deucher <alex@t41p.hsd1.va.comcast.net>2007-06-28 23:08:07 -0400
committerAlex Deucher <alex@t41p.hsd1.va.comcast.net>2007-06-28 23:08:07 -0400
commit0f361e9e80a29d287fa42436c32c657e3c102539 (patch)
tree0152538cdc7e3d0211596fbb9c9ba446ae27cece /src/radeon_driver.c
parent1d4630067d293d26284d5fe230debef3913ec6cf (diff)
RADEON: fix corruption after 3D apps run
Diffstat (limited to 'src/radeon_driver.c')
-rw-r--r--src/radeon_driver.c4
1 files 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);