diff --git a/src/glamor_trapezoid.c b/src/glamor_trapezoid.c index 57a178c..07282b2 100644 --- a/src/glamor_trapezoid.c +++ b/src/glamor_trapezoid.c @@ -934,6 +940,8 @@ NTRAPS_LOOP_AGAIN: traps_not_completed -= traps_count; glamor_flush_composite_triangles(screen); goto NTRAPS_LOOP_AGAIN; + } else { + traps_count = ntrap; } pbox++;