Move the initial EnterVT to after we've set up acceleration.

This fixes a crash with initial rotation and EXA due to EXA not being
initialized in time for the shadow pixmap setup.
This commit is contained in:
Eric Anholt 2007-02-26 16:58:33 -08:00
parent 732885c08d
commit 36bfeb890a
1 changed files with 3 additions and 2 deletions

View File

@ -2579,8 +2579,6 @@ I830ScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
}
}
}
if (!I830EnterVT(scrnIndex, 0))
return FALSE;
if (pScrn->virtualX > pScrn->displayWidth)
pScrn->displayWidth = pScrn->virtualX;
@ -2623,6 +2621,9 @@ I830ScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
}
}
if (!I830EnterVT(scrnIndex, 0))
return FALSE;
miInitializeBackingStore(pScreen);
xf86SetBackingStore(pScreen);
xf86SetSilkenMouse(pScreen);