sna/trapezoids: Ensure we do not overrun the vertical edges for mono
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
481df2618a
commit
daeb9291e2
|
|
@ -1795,7 +1795,7 @@ mono_render(struct mono *mono)
|
|||
|
||||
if (mono->is_vertical) {
|
||||
struct mono_edge *e = mono->head.next;
|
||||
int min_height = e->height_left;
|
||||
int min_height = h - i;
|
||||
|
||||
while (e != &mono->tail) {
|
||||
if (e->height_left < min_height)
|
||||
|
|
|
|||
Loading…
Reference in New Issue