i915tex: 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 74ced1e67f
commit c09e2143c7

View file

@ -409,6 +409,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);