From 4100abdf5d208bbcbb4ceabad0572c04221443c9 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Tue, 30 Jun 2009 13:12:45 +0200 Subject: [PATCH] Xv: kill !textured condition This is in the overlay path and therefore always true. Signed-off-by: Daniel Vetter --- src/i830_video.c | 3 +-- 1 file changed, 1 insertion(+), 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;