mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
r300: Fix off-by-one error in calculation of scissor cliprect.
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=16123 .
This commit is contained in:
parent
c1fb448ce8
commit
57aea290e1
1 changed files with 2 additions and 2 deletions
|
|
@ -125,8 +125,8 @@ void radeonUpdateScissor(GLcontext* ctx)
|
|||
|
||||
radeon->state.scissor.rect.x1 = x1;
|
||||
radeon->state.scissor.rect.y1 = y1;
|
||||
radeon->state.scissor.rect.x2 = x1 + ctx->Scissor.Width - 1;
|
||||
radeon->state.scissor.rect.y2 = y1 + ctx->Scissor.Height - 1;
|
||||
radeon->state.scissor.rect.x2 = x1 + ctx->Scissor.Width;
|
||||
radeon->state.scissor.rect.y2 = y1 + ctx->Scissor.Height;
|
||||
|
||||
radeonRecalcScissorRects(radeon);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue