mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
correct scissor and cliprect setting
This commit is contained in:
parent
3a3c7fd52e
commit
5e1534f532
1 changed files with 4 additions and 4 deletions
|
|
@ -624,10 +624,10 @@ void r700SetScissor(context_t *context) //---------------
|
|||
x2 = context->radeon.state.scissor.rect.x2 - 1;
|
||||
y2 = context->radeon.state.scissor.rect.y2 - 1;
|
||||
} else {
|
||||
x1 = 0;
|
||||
y1 = 0;
|
||||
x2 = rrb->width - 1;
|
||||
y2 = rrb->height - 1;
|
||||
x1 = rrb->dPriv->x;
|
||||
y1 = rrb->dPriv->y;
|
||||
x2 = rrb->dPriv->x + rrb->dPriv->w;
|
||||
y2 = rrb->dPriv->y + rrb->dPriv->h;
|
||||
}
|
||||
|
||||
/* window */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue