summaryrefslogtreecommitdiff
path: root/src/glamor_trapezoid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glamor_trapezoid.c')
-rw-r--r--src/glamor_trapezoid.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glamor_trapezoid.c b/src/glamor_trapezoid.c
index 57a178c..7c934e3 100644
--- a/src/glamor_trapezoid.c
+++ b/src/glamor_trapezoid.c
@@ -934,6 +934,9 @@ NTRAPS_LOOP_AGAIN:
traps_not_completed -= traps_count;
glamor_flush_composite_triangles(screen);
goto NTRAPS_LOOP_AGAIN;
+ } else {
+ ptrap = traps;
+ traps_count = ntrap;
}
pbox++;