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.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;