diff options
author | Dave Airlie <airlied@redhat.com> | 2009-08-28 11:01:38 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-08-28 11:02:32 +1000 |
commit | d0cb1036aa98d35ae5233d326fbb0ba592a26e26 (patch) | |
tree | 621bf0766ef5e3c5ea26d2e2caebbc2a4fb70dc1 /src/mesa/drivers/dri/r300 | |
parent | 60b072d49fd2a1b2bf59442ae7209379152b1500 (diff) |
radeon: fix scissors harder.
this makes gnome-shell work on r300 for me
Diffstat (limited to 'src/mesa/drivers/dri/r300')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_cmdbuf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_cmdbuf.c b/src/mesa/drivers/dri/r300/r300_cmdbuf.c index 40e5e0ba2f..e1047beb6e 100644 --- a/src/mesa/drivers/dri/r300/r300_cmdbuf.c +++ b/src/mesa/drivers/dri/r300/r300_cmdbuf.c @@ -226,8 +226,8 @@ void r300_emit_scissor(GLcontext *ctx) if (r300->radeon.state.scissor.enabled) { x1 = r300->radeon.state.scissor.rect.x1; y1 = r300->radeon.state.scissor.rect.y1; - x2 = r300->radeon.state.scissor.rect.x2 - 1; - y2 = r300->radeon.state.scissor.rect.y2 - 1; + x2 = r300->radeon.state.scissor.rect.x2; + y2 = r300->radeon.state.scissor.rect.y2; } else { x1 = 0; y1 = 0; |