randr: Weird enough, crtc->version was never set upon creation. Fix that.

This commit is contained in:
Matthias Hopf 2008-11-28 17:38:52 +01:00
parent 9db84fac0c
commit a475eb9fee

View File

@ -96,6 +96,7 @@ xf86CrtcCreate (ScrnInfoPtr scrn,
crtc = xcalloc (sizeof (xf86CrtcRec), 1); crtc = xcalloc (sizeof (xf86CrtcRec), 1);
if (!crtc) if (!crtc)
return NULL; return NULL;
crtc->version = XF86_CRTC_VERSION;
crtc->scrn = scrn; crtc->scrn = scrn;
crtc->funcs = funcs; crtc->funcs = funcs;
#ifdef RANDR_12_INTERFACE #ifdef RANDR_12_INTERFACE