mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 15:38:09 +02:00
i915tex: Don't emit 'empty' blit rectangles.
The hardware seems to interpret them differently and produce unexpected results...
This commit is contained in:
parent
74ced1e67f
commit
c09e2143c7
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue