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

(cherry picked from commit a475eb9fee)

Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Matthias Hopf 2008-11-28 17:38:52 +01:00 committed by Keith Packard
parent 0d27dd23cf
commit 27ca32eb05

View file

@ -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