From a7f8b329aa75f9a34d31d01b5bf6094b764bd8a9 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 28 Aug 2009 11:05:29 +1000 Subject: [PATCH] r600: fix scissor also. I forgot about r600 being here. --- src/mesa/drivers/dri/r600/r700_state.c | 4 ++-- 1 file 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; -- 2.30.2