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:
parent
1d0a21a89c
commit
8e06b3eaed
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user