diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2007-02-28 17:50:56 +0100 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2007-02-28 17:50:56 +0100 |
commit | b5316fb2623e9630cbd58020e0a7c95bf354c587 (patch) | |
tree | a551f45af91439dda37f33e8473de875c0cd30f5 /src/i830_dri.c | |
parent | f5ab9e0ad3a65c972861dd53be6e33e1aac13191 (diff) |
I830DRIClipNotify: Fix initialization of crtcBox[1].[xy]2.
Diffstat (limited to 'src/i830_dri.c')
-rw-r--r-- | src/i830_dri.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i830_dri.c b/src/i830_dri.c index afc7de06..e5460668 100644 --- a/src/i830_dri.c +++ b/src/i830_dri.c @@ -1523,8 +1523,8 @@ I830DRIClipNotify(ScreenPtr pScreen, WindowPtr *ppWin, int num) crtcBox[0].y2 = crtcBox[0].y1 + sPriv->pipeA_h; crtcBox[1].x1 = sPriv->pipeB_x; crtcBox[1].y1 = sPriv->pipeB_y; - crtcBox[1].x2 = crtcBox[0].x1 + sPriv->pipeB_w; - crtcBox[1].y2 = crtcBox[0].y1 + sPriv->pipeB_h; + crtcBox[1].x2 = crtcBox[1].x1 + sPriv->pipeB_w; + crtcBox[1].y2 = crtcBox[1].y1 + sPriv->pipeB_h; for (i = 0; i < 2; i++) { for (j = 0; j < num; j++) { |