aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r200
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2009-08-28 11:01:38 +1000
committerDave Airlie <[email protected]>2009-08-28 11:02:32 +1000
commitd0cb1036aa98d35ae5233d326fbb0ba592a26e26 (patch)
tree621bf0766ef5e3c5ea26d2e2caebbc2a4fb70dc1 /src/mesa/drivers/dri/r200
parent60b072d49fd2a1b2bf59442ae7209379152b1500 (diff)
radeon: fix scissors harder.
this makes gnome-shell work on r300 for me
Diffstat (limited to 'src/mesa/drivers/dri/r200')
-rw-r--r--src/mesa/drivers/dri/r200/r200_state.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_state.c b/src/mesa/drivers/dri/r200/r200_state.c
index 250b4358c9c..f56da9082a5 100644
--- a/src/mesa/drivers/dri/r200/r200_state.c
+++ b/src/mesa/drivers/dri/r200/r200_state.c
@@ -1661,8 +1661,8 @@ void r200_vtbl_update_scissor( GLcontext *ctx )
if (r200->radeon.state.scissor.enabled) {
x1 = r200->radeon.state.scissor.rect.x1;
y1 = r200->radeon.state.scissor.rect.y1;
- x2 = r200->radeon.state.scissor.rect.x2 - 1;
- y2 = r200->radeon.state.scissor.rect.y2 - 1;
+ x2 = r200->radeon.state.scissor.rect.x2;
+ y2 = r200->radeon.state.scissor.rect.y2;
} else {
rrb = radeon_get_colorbuffer(&r200->radeon);
x1 = 0;