summaryrefslogtreecommitdiff
path: root/src/xvmc/i915_xvmc.c
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyu.z.wang@intel.com>2007-11-16 15:43:04 +0800
committerZhenyu Wang <zhenyu.z.wang@intel.com>2007-11-16 15:43:04 +0800
commit7bfbcb4dc7806ae7543f230373e67f35ba30668d (patch)
treef11c24867bbed7a5e464031c2bcd18ad69d26967 /src/xvmc/i915_xvmc.c
parenta6e8f4ef0481c66fda4f22fcc4bb0ef9c000f0cd (diff)
xvmc: clean batch buffer finish
Diffstat (limited to 'src/xvmc/i915_xvmc.c')
-rw-r--r--src/xvmc/i915_xvmc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/xvmc/i915_xvmc.c b/src/xvmc/i915_xvmc.c
index 0623c53c..404edc0b 100644
--- a/src/xvmc/i915_xvmc.c
+++ b/src/xvmc/i915_xvmc.c
@@ -1618,8 +1618,6 @@ static void i915_release_resource(Display *display, XvMCContext *context)
uniDRIDestroyContext(display, screen, pI915XvMC->id);
XUnlockDisplay(display);
- intelDestroyBatchBuffer();
-
drmUnmap(xvmc_driver->sarea_address, xvmc_driver->sarea_size);
if (xvmc_driver->fd >= 0)