i915: Don't emit 'empty' blit rectangles.

The hardware seems to interpret them differently and produce unexpected
results...
This commit is contained in:
Michel Dänzer 2007-10-17 18:26:31 +02:00
parent 87966baa8d
commit b453112133
1 changed files with 3 additions and 0 deletions

View File

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