summaryrefslogtreecommitdiff
path: root/src/i830_video.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/i830_video.c')
-rw-r--r--src/i830_video.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/i830_video.c b/src/i830_video.c
index 1c1fbabd..a74634fa 100644
--- a/src/i830_video.c
+++ b/src/i830_video.c
@@ -604,9 +604,11 @@ I830InitVideo(ScreenPtr pScreen)
xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Set up textured video\n");
#ifdef XF86DRI
- if (/* pI830->XvMCEnabled && */IS_I9XX(pI830))
+#ifdef XvMCExtension
+ if (IS_I9XX(pI830))
I915XvMCInitXv(pScrn, texturedAdaptor);
#endif
+#endif
} else {
xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
"Failed to set up textured video\n");