diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-09-08 16:03:25 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-09-08 16:03:25 -0400 |
commit | e6ad286a80eadd3f38105bf3643e13db83c5b40e (patch) | |
tree | bd2a7c3fc72f1082363a3ce4a503820bf2c64ca8 /src/mesa/drivers/dri/r600 | |
parent | e34ea368d9fccaf84b7e4aec4ba3f633eeaefec6 (diff) |
r600: fix dri2 clipping
Diffstat (limited to 'src/mesa/drivers/dri/r600')
-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 93b4ebfdb9..e91aa43118 100644 --- a/src/mesa/drivers/dri/r600/r700_state.c +++ b/src/mesa/drivers/dri/r600/r700_state.c @@ -1280,8 +1280,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; |