sna/dri2: Remove stale active buffer assert

Since the DRI2BufferPtr destruction may be delayed, by the time we do
free it, the state may no longer be accurate. (At this level at least,
there is a later assertion to the same regard just as we think we are
releasing the buffer.)

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2015-08-19 20:24:37 +01:00
parent 6f3e81d430
commit 819971e7a6
1 changed files with 0 additions and 1 deletions

View File

@ -821,7 +821,6 @@ sna_dri2_cache_bo(struct sna *sna,
return;
err:
assert(bo->active_scanout == 0 || bo->scanout);
kgem_bo_destroy(&sna->kgem, bo);
}