mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-28 09:59:56 +00:00
randr: Weird enough, crtc->version was never set upon creation. Fix that.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user