diff options
author | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2006-07-27 16:11:48 +0100 |
---|---|---|
committer | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2006-07-27 16:11:48 +0100 |
commit | a91a4f95c664f6905fef61dab251707bf2548bb8 (patch) | |
tree | 2bf8c0ea305f6660cf55eb93fe59b6fba9c3fdd7 /src | |
parent | ac3ad32f667b306e771617d784648f7111743f1a (diff) |
Fix pipe reversal for Xv
Diffstat (limited to 'src')
-rw-r--r-- | src/i830_video.c | 8 |
1 files 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; |