summaryrefslogtreecommitdiff
path: root/src/savage_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/savage_driver.c')
-rw-r--r--src/savage_driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/savage_driver.c b/src/savage_driver.c
index 3c2d291..0446a45 100644
--- a/src/savage_driver.c
+++ b/src/savage_driver.c
@@ -1938,7 +1938,7 @@ static void SavageLeaveVT(int scrnIndex, int flags)
psav->LockHeld = 1;
}
#endif
- if (psav->FBStart2nd)
+ if (psav->FBStart2nd || (psav->videoFlags & VF_STREAMS_ON))
SavageStreamsOff(pScrn);
SavageWriteMode(pScrn, vgaSavePtr, SavageSavePtr, FALSE);
SavageResetStreams(pScrn);
@@ -3683,7 +3683,7 @@ Bool SavageSwitchMode(int scrnIndex, DisplayModePtr mode, int flags)
TRACE(("SavageSwitchMode\n"));
- if (psav->FBStart2nd)
+ if (psav->FBStart2nd || (psav->videoFlags & VF_STREAMS_ON))
SavageStreamsOff(xf86Screens[scrnIndex]);
success = SavageModeInit(xf86Screens[scrnIndex], mode);