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:
Chris Wilson 2011-09-17 00:27:55 +01:00
parent 481df2618a
commit daeb9291e2
1 changed files with 1 additions and 1 deletions

View File

@ -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)