From a91a4f95c664f6905fef61dab251707bf2548bb8 Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Thu, 27 Jul 2006 16:11:48 +0100 Subject: Fix pipe reversal for Xv --- src/i830_video.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/i830_video.c b/src/i830_video.c index 762bddf8..b252ac96 100644 --- a/src/i830_video.c +++ b/src/i830_video.c @@ -1495,21 +1495,21 @@ I830DisplayVideo(ScrnInfoPtr pScrn, int id, short width, short height, case PosBelow: if ((w2 > 0 && w1 == 0) || (h2 > 0 && h1 == 0)) { - pPriv->pipe = pI830->pipe; + pPriv->pipe = !pI830->pipe; dstBox->x1 = dstBox2.x1; dstBox->y1 = dstBox2.y1; dstBox->x2 = dstBox2.x2; dstBox->y2 = dstBox2.y2; } else - pPriv->pipe = !pI830->pipe; + pPriv->pipe = pI830->pipe; break; case PosLeftOf: case PosAbove: if ((w1 > 0 && w2 == 0) || (h1 > 0 && h2 == 0)) { - pPriv->pipe = !pI830->pipe; - } else { pPriv->pipe = pI830->pipe; + } else { + pPriv->pipe = !pI830->pipe; dstBox->x1 = dstBox2.x1; dstBox->y1 = dstBox2.y1; dstBox->x2 = dstBox2.x2; -- cgit v1.2.3