summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2009-06-30 13:12:45 +0200
committerIan Romanick <ian.d.romanick@intel.com>2009-07-01 15:38:54 -0700
commit4100abdf5d208bbcbb4ceabad0572c04221443c9 (patch)
treebacd7c12953cb5a41bb1527208a1f40b3bd055ae
parentb0df0fe91e2b800ed096f369850aa1af4be2f157 (diff)
Xv: kill !textured condition
This is in the overlay path and therefore always true. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r--src/i830_video.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/i830_video.c b/src/i830_video.c
index f8bd4a2e..e142fb5b 100644
--- a/src/i830_video.c
+++ b/src/i830_video.c
@@ -1055,8 +1055,7 @@ I830StopVideo(ScrnInfoPtr pScrn, pointer data, Bool shutdown)
}
if (pPriv->buf) {
- if (!pPriv->textured)
- drm_intel_bo_unpin(pPriv->buf);
+ drm_intel_bo_unpin(pPriv->buf);
drm_intel_bo_unreference(pPriv->buf);
pPriv->buf = NULL;
pPriv->videoStatus = 0;