Xv: kill !textured condition

This is in the overlay path and therefore always true.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter 2009-06-30 13:12:45 +02:00 committed by Ian Romanick
parent b0df0fe91e
commit 4100abdf5d
1 changed files with 1 additions and 2 deletions

View File

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