summaryrefslogtreecommitdiff
path: root/src/sna/sna_io.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-09-12 23:53:44 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-09-12 23:53:44 +0100
commit58a96f0f684fe0d7d1a7890c630539ef8b065d1e (patch)
tree9c9cabe09255760dafee73c6b4ec916c7ce3f1fc /src/sna/sna_io.c
parent6069e78238ca57e3433d528680fe04766a1e5307 (diff)
sna: Also remove bogus assertion from sna_replace__xor()
Like the assertion in sna_replace() this is now incorrect due to the automatic flagging of large bo with flush. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_io.c')
-rw-r--r--src/sna/sna_io.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sna/sna_io.c b/src/sna/sna_io.c
index d17f387f..738ec8e9 100644
--- a/src/sna/sna_io.c
+++ b/src/sna/sna_io.c
@@ -1246,7 +1246,6 @@ struct kgem_bo *sna_replace__xor(struct sna *sna,
pixmap->drawable.height,
pixmap->drawable.bitsPerPixel,
bo->tiling));
- assert(!bo->flush);
if (kgem_bo_is_busy(bo)) {
struct kgem_bo *new_bo;