summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2009-08-28 11:05:29 +1000
committerDave Airlie <[email protected]>2009-08-28 11:05:29 +1000
commita7f8b329aa75f9a34d31d01b5bf6094b764bd8a9 (patch)
tree28aa919fde0585bac35cb7d4f19903fc9c671497 /src/mesa
parentd0cb1036aa98d35ae5233d326fbb0ba592a26e26 (diff)
r600: fix scissor also.
I forgot about r600 being here.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/r600/r700_state.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r600/r700_state.c b/src/mesa/drivers/dri/r600/r700_state.c
index 30cf2dd399d..91cb492ce6a 100644
--- a/src/mesa/drivers/dri/r600/r700_state.c
+++ b/src/mesa/drivers/dri/r600/r700_state.c
@@ -1288,8 +1288,8 @@ void r700SetScissor(context_t *context) //---------------
if (context->radeon.state.scissor.enabled) {
x1 = context->radeon.state.scissor.rect.x1;
y1 = context->radeon.state.scissor.rect.y1;
- x2 = context->radeon.state.scissor.rect.x2 - 1;
- y2 = context->radeon.state.scissor.rect.y2 - 1;
+ x2 = context->radeon.state.scissor.rect.x2;
+ y2 = context->radeon.state.scissor.rect.y2;
} else {
if (context->radeon.radeonScreen->driScreen->dri2.enabled) {
x1 = 0;