summaryrefslogtreecommitdiff
path: root/src/savage_driver.c
diff options
context:
space:
mode:
authorAlex Deucher <alex@botch2.com>2007-07-11 21:01:03 -0400
committerAlex Deucher <alex@botch2.com>2007-07-11 21:01:03 -0400
commit7832dcd82046238d5accb55468c65241f0edc6d0 (patch)
tree82ae5c489e91c4be134c63dfb22ee723176e646f /src/savage_driver.c
parent8dd310538df11cc5ff4e8e84920218b819bbae47 (diff)
fix console corruption due to invalid shadow status
tracked down by Tormod Volden, fixes bug 11237
Diffstat (limited to 'src/savage_driver.c')
-rw-r--r--src/savage_driver.c2
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