i915: Don't emit 'empty' blit rectangles.
The hardware seems to interpret them differently and produce unexpected results...
This commit is contained in:
parent
87966baa8d
commit
b453112133
|
@ -402,6 +402,9 @@ intelClearWithBlit(GLcontext * ctx, GLbitfield mask)
|
|||
b = *box;
|
||||
}
|
||||
|
||||
if (b.x1 >= b.x2 || b.y1 >= b.y2)
|
||||
continue;
|
||||
|
||||
if (0)
|
||||
_mesa_printf("clear %d,%d..%d,%d, mask %x\n",
|
||||
b.x1, b.y1, b.x2, b.y2, mask);
|
||||
|
|
Loading…
Reference in New Issue