Don't memset the modes pointer on init, which was dereferencing NULL.
This commit is contained in:
parent
0510671a6c
commit
282a9e073e
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue