randr: Weird enough, crtc->version was never set upon creation. Fix that.
This commit is contained in:
parent
9db84fac0c
commit
a475eb9fee
|
@ -96,6 +96,7 @@ xf86CrtcCreate (ScrnInfoPtr scrn,
|
|||
crtc = xcalloc (sizeof (xf86CrtcRec), 1);
|
||||
if (!crtc)
|
||||
return NULL;
|
||||
crtc->version = XF86_CRTC_VERSION;
|
||||
crtc->scrn = scrn;
|
||||
crtc->funcs = funcs;
|
||||
#ifdef RANDR_12_INTERFACE
|
||||
|
|
Loading…
Reference in New Issue
Block a user