Fix crash during resolution change. From debian bug #423485,

by Tormod Volden pointed at by Ryan Freeman. Thanks.
Has been in snapshots for a while without complaints.
This commit is contained in:
matthieu 2007-08-04 19:34:21 +00:00
parent 1d0a21a89c
commit 8e06b3eaed

View File

@ -3536,6 +3536,7 @@ static Bool SavageModeInit(ScrnInfoPtr pScrn, DisplayModePtr mode)
/* do it! */
SavageWriteMode(pScrn, vganew, new, TRUE);
pScrn->currentMode = mode;
if (psav->FBStart2nd) {
SavageStreamsOn(pScrn);
@ -3798,6 +3799,7 @@ static Bool SavageModeInit(ScrnInfoPtr pScrn, DisplayModePtr mode)
/* do it! */
SavageWriteMode(pScrn, vganew, new, TRUE);
pScrn->currentMode = mode;
if (psav->FBStart2nd) {
SavageStreamsOn(pScrn);