Don't memset the modes pointer on init, which was dereferencing NULL.

This commit is contained in:
Eric Anholt 2006-11-03 13:46:09 -08:00
parent 0510671a6c
commit 282a9e073e
1 changed files with 0 additions and 1 deletions

View File

@ -874,7 +874,6 @@ I830RandRInit12 (ScreenPtr pScreen)
rp->rrCrtcSet = I830RandRCrtcSet;
rp->rrCrtcSetGamma = I830RandRCrtcSetGamma;
rp->rrSetConfig = NULL;
memset (rp->modes, '\0', sizeof (rp->modes));
pScrn->PointerMoved = I830RandRPointerMoved;
return TRUE;
}