From: Dave Airlie Date: Fri, 28 Aug 2009 01:05:29 +0000 (+1000) Subject: r600: fix scissor also. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a7f8b329aa75f9a34d31d01b5bf6094b764bd8a9;p=mesa.git r600: fix scissor also. I forgot about r600 being here. --- 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;