diff options
author | Alex Deucher <alex@botch2.com> | 2007-07-11 21:01:03 -0400 |
---|---|---|
committer | Alex Deucher <alex@botch2.com> | 2007-07-11 21:01:03 -0400 |
commit | 7832dcd82046238d5accb55468c65241f0edc6d0 (patch) | |
tree | 82ae5c489e91c4be134c63dfb22ee723176e646f | |
parent | 8dd310538df11cc5ff4e8e84920218b819bbae47 (diff) |
fix console corruption due to invalid shadow status
tracked down by Tormod Volden, fixes bug 11237
-rw-r--r-- | src/savage_driver.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/savage_driver.c b/src/savage_driver.c index 6ffe772..27cf8ad 100644 --- a/src/savage_driver.c +++ b/src/savage_driver.c @@ -3834,6 +3834,8 @@ static Bool SavageCloseScreen(int scrnIndex, ScreenPtr pScreen) #ifdef XF86DRI if (psav->directRenderingEnabled) { SAVAGEDRICloseScreen(pScreen); + /* reset shadow values */ + SavageInitShadowStatus(pScrn); psav->directRenderingEnabled=FALSE; } #endif |