mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-07 21:50:14 +01:00
randr: Weird enough, crtc->version was never set upon creation. Fix that.
This commit is contained in:
parent
9db84fac0c
commit
a475eb9fee
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue