diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-09-08 16:03:25 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-09-24 09:56:18 -0400 |
commit | cbab3d7f2a77f187fb688593c17396d4967c75b5 (patch) | |
tree | e49bcd1a9a3eb894fc530ea2c4b841df0679a761 /src/mesa/drivers | |
parent | 84c7afd9e0f2df72d90dd82d38384c4f2f45173e (diff) | |
download | external_mesa3d-cbab3d7f2a77f187fb688593c17396d4967c75b5.zip external_mesa3d-cbab3d7f2a77f187fb688593c17396d4967c75b5.tar.gz external_mesa3d-cbab3d7f2a77f187fb688593c17396d4967c75b5.tar.bz2 |
r600: fix dri2 clipping
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/r600/r700_state.c | 4 |
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 1f4724e..2a0b419 100644 --- a/src/mesa/drivers/dri/r600/r700_state.c +++ b/src/mesa/drivers/dri/r600/r700_state.c @@ -1272,8 +1272,8 @@ void r700SetScissor(context_t *context) //--------------- if (context->radeon.radeonScreen->driScreen->dri2.enabled) { x1 = 0; y1 = 0; - x2 = rrb->base.Width - 1; - y2 = rrb->base.Height - 1; + x2 = rrb->base.Width; + y2 = rrb->base.Height; } else { x1 = rrb->dPriv->x; y1 = rrb->dPriv->y; |