[PATCH 07/13] xserver: randr: Weird enough, crtc->version was never set upon creation. Fix that.
Matthias Hopf
mhopf at suse.de
Fri Nov 28 08:38:52 PST 2008
---
hw/xfree86/modes/xf86Crtc.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/hw/xfree86/modes/xf86Crtc.c b/hw/xfree86/modes/xf86Crtc.c
index e9652e1..1c6eed0 100644
--- a/hw/xfree86/modes/xf86Crtc.c
+++ b/hw/xfree86/modes/xf86Crtc.c
@@ -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
--
1.5.6
More information about the xorg
mailing list