From: Alex Deucher Date: Tue, 8 Sep 2009 20:03:25 +0000 (-0400) Subject: r600: fix dri2 clipping X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cbab3d7f2a77f187fb688593c17396d4967c75b5;p=mesa.git r600: fix dri2 clipping --- diff --git a/src/mesa/drivers/dri/r600/r700_state.c b/src/mesa/drivers/dri/r600/r700_state.c index 1f4724e8384..2a0b4192562 100644 --- a/src/mesa/drivers/dri/r600/r700_state.c +++ b/src/mesa/drivers/dri/r600/r700_state.c @@ -1272,8 +1272,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;