whoops, revert some unnecessary changes

This commit is contained in:
Alan Hourihane 2006-07-11 08:13:30 +01:00
parent 8a44a7acfc
commit b1c2ea6535
1 changed files with 0 additions and 10 deletions

View File

@ -955,8 +955,6 @@ I830Set640x480(ScrnInfoPtr pScrn)
if (VBESetVBEMode(pI830->pVbe, m, NULL))
return TRUE;
ErrorF("Set640x480 failed1\n");
/* if the first failed, let's try the next - usually 800x600 */
m = 0x32;
switch (pScrn->depth) {
@ -972,8 +970,6 @@ I830Set640x480(ScrnInfoPtr pScrn)
if (VBESetVBEMode(pI830->pVbe, m, NULL))
return TRUE;
ErrorF("Set640x480 failed2\n");
return FALSE;
}
@ -5576,10 +5572,6 @@ I830BIOSEnterVT(int scrnIndex, int flags)
pI830->leaving = FALSE;
/* Detect monitor change and switch to suitable mode */
if (!pI830->starting)
I830DetectMonitorChange(pScrn);
#if 1
/* Clear the framebuffer */
memset(pI830->FbBase + pScrn->fbOffset, 0,
@ -5638,11 +5630,9 @@ I830BIOSEnterVT(int scrnIndex, int flags)
ResetState(pScrn, FALSE);
SetHWOperatingState(pScrn);
#if 0
/* Detect monitor change and switch to suitable mode */
if (!pI830->starting)
I830DetectMonitorChange(pScrn);
#endif
if (!I830VESASetMode(pScrn, pScrn->currentMode))
return FALSE;