From 5f961f28310a1cd19967df2034b0452bf4446394 Mon Sep 17 00:00:00 2001 From: Zhenyu Wang Date: Thu, 20 Dec 2007 12:51:06 +0800 Subject: xvmc: move dri context handling to generic code Use XvMCContext's context_id for dri context handling instead of driver private id. Remove unnecessary field for i915 private structs. --- src/i915_hwmc.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/i915_hwmc.c') diff --git a/src/i915_hwmc.c b/src/i915_hwmc.c index 262c63bd..e41d148d 100644 --- a/src/i915_hwmc.c +++ b/src/i915_hwmc.c @@ -501,7 +501,6 @@ static int i915_xvmc_create_context (ScrnInfoPtr pScrn, XvMCContextPtr pContext, contextRec->corrdata.offset = ctxpriv->mcCorrdata->offset; contextRec->corrdata.size = ctxpriv->mcCorrdata->size; contextRec->sarea_priv_offset = sizeof(XF86DRISAREARec); - contextRec->depth = pScrn->bitsPerPixel; contextRec->deviceID = pI830DRI->deviceID; pXvMC->ncontexts++; -- cgit v1.2.3