summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-03-20 11:08:44 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2012-03-20 11:08:44 +0000
commit1bdd6461de18a6812d5af0283f4222cbb80ca2f8 (patch)
treecb57dbdb6668ba2e17bd914b11a3ec80e7378f4d
parent1c2932e9cb283942567c3dd2695d03b8045da27f (diff)
sna/traps: Remove bogus assertion
As we only enter that path for singular unbounded boxes, we are guaranteed to fill the entire trapezoid extents and so do not need the unbounded fixup the assertion was fretting about. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/sna_trapezoids.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sna/sna_trapezoids.c b/src/sna/sna_trapezoids.c
index 4752e48f..7048cae9 100644
--- a/src/sna/sna_trapezoids.c
+++ b/src/sna/sna_trapezoids.c
@@ -3099,7 +3099,6 @@ composite_unaligned_boxes(struct sna *sna,
if (priv->clear && priv->clear_color == 0)
return true;
}
- assert((priv->clear && priv->clear_color == 0) || operator_is_bounded(op));
memset(&tmp, 0, sizeof(tmp));
if (!sna->render.composite_spans(sna, op, src, dst,