diff options
author | Brian Paul <[email protected]> | 2009-10-10 09:25:34 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-10-10 09:25:34 -0600 |
commit | 57e3eb1b178e861dee7695c9a5e1c71a4333192d (patch) | |
tree | 9e4e6fc113820d1754f0955ce3f768d8d1ca1eec /src/mesa/drivers/dri/radeon | |
parent | 39daa763b59cc80d862709e99ee3619bd0f7a14d (diff) | |
parent | 768481ed40cb7530fdbadbf4d6dc00b74209adf1 (diff) |
Merge branch 'mesa_7_6_branch'
Diffstat (limited to 'src/mesa/drivers/dri/radeon')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_common.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_common.c b/src/mesa/drivers/dri/radeon/radeon_common.c index f8a4cdb4954..097ab7cf613 100644 --- a/src/mesa/drivers/dri/radeon/radeon_common.c +++ b/src/mesa/drivers/dri/radeon/radeon_common.c @@ -229,16 +229,15 @@ void radeonUpdateScissor( GLcontext *ctx ) } if (!rmesa->radeonScreen->kernel_mm) { /* Fix scissors for dri 1 */ - __DRIdrawablePrivate *dPriv = radeon_get_drawable(rmesa); x1 += dPriv->x; - x2 += dPriv->x; + x2 += dPriv->x + 1; min_x += dPriv->x; - max_x += dPriv->x; + max_x += dPriv->x + 1; y1 += dPriv->y; - y2 += dPriv->y; + y2 += dPriv->y + 1; min_y += dPriv->y; - max_y += dPriv->y; + max_y += dPriv->y + 1; } rmesa->state.scissor.rect.x1 = CLAMP(x1, min_x, max_x); |