summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-10-22 15:32:23 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-10-22 16:43:19 +0100
commit9fcda71d753ab5126143f053c47513e9acf5c98b (patch)
treeb774f491afef9e742e48aa160df32b188abfcea7
parent9fc95bebe783341aaf0e285ca2e216035378943c (diff)
sna/trapezoids: Fix inversion of initialisation test for triangles
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/sna_trapezoids_mono.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_trapezoids_mono.c b/src/sna/sna_trapezoids_mono.c
index 2f7a2bb8..f7b9a1c7 100644
--- a/src/sna/sna_trapezoids_mono.c
+++ b/src/sna/sna_trapezoids_mono.c
@@ -1341,7 +1341,7 @@ mono_triangles_span_converter(struct sna *sna,
was_clear = sna_drawable_is_clear(dst->pDrawable);
- if (mono_init(&mono, 3*count))
+ if (!mono_init(&mono, 3*count))
return false;
for (n = 0; n < count; n++) {