mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-06 08:08:06 +02:00
Reset traps_count and ptrap when necessary for the next trapezoid cliprect
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=64912 Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: He Junyan <junyan.he@inbox.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
This commit is contained in:
parent
61fca4342a
commit
39e95cd0f5
1 changed files with 3 additions and 0 deletions
|
|
@ -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++;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue