[Glamor] [PATCH] Reset traps_count and ptrap when necessary for the next trapezoid cliprect
Michel Dänzer
michel at daenzer.net
Fri Sep 20 01:41:10 PDT 2013
From: Michel Dänzer <michel.daenzer at amd.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=64912
Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
---
src/glamor_trapezoid.c | 3 +++
1 file changed, 3 insertions(+)
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++;
--
1.8.4.rc3
More information about the Glamor
mailing list