summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2009-09-08 16:03:25 -0400
committerAlex Deucher <[email protected]>2009-09-08 16:03:25 -0400
commite6ad286a80eadd3f38105bf3643e13db83c5b40e (patch)
treebd2a7c3fc72f1082363a3ce4a503820bf2c64ca8
parente34ea368d9fccaf84b7e4aec4ba3f633eeaefec6 (diff)
r600: fix dri2 clipping
-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 93b4ebfdb96..e91aa43118f 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;