summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sis_driver.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sis_driver.c b/src/sis_driver.c
index cec85da..4601e54 100644
--- a/src/sis_driver.c
+++ b/src/sis_driver.c
@@ -6913,11 +6913,10 @@ SISRestore(ScrnInfoPtr pScrn)
}
SiSSetMode(pSiS->SiS_Pr, &pSiS->sishw_ext, pScrn, mymode, FALSE);
if(changedmode) {
- mymode = 0x03;
outSISIDXREG(SISCR,0x34,0x03);
}
SISSpecialRestore(pScrn);
- SiS_GetSetModeID(pScrn,pSiS->OldMode); /* NOT mymode! */
+ SiS_GetSetModeID(pScrn, pSiS->OldMode); /* NOT mymode! */
pSiS->SiS_Pr->UsePanelScaler = backupscaler;
pSiS->SiS_Pr->CenterScreen = backupcenter;
pSiS->SiS_Pr->SiS_CustomT = backupspecialtiming;