diff options
author | Thomas Hellstrom <unichrome@shipmail.org> | 2005-10-25 22:35:24 +0000 |
---|---|---|
committer | Thomas Hellstrom <unichrome@shipmail.org> | 2005-10-25 22:35:24 +0000 |
commit | 63e9c3f2c3cc510c8907666480158db8b7db7b04 (patch) | |
tree | 068e1ad9e7aa2faf7cb931cc411acc8b6b412740 | |
parent | 0eef0af4120a93a19e746d70ddb0a0be96b9ce38 (diff) |
Revert previous commit.
-rw-r--r-- | src/via_video.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/via_video.c b/src/via_video.c index 78fc00e..bbed666 100644 --- a/src/via_video.c +++ b/src/via_video.c @@ -1101,10 +1101,12 @@ viaPutImage( pVia->VideoStatus |= VIDEO_SWOV_ON; /* BitBlt: Draw the colorkey rectangle */ - REGION_COPY(pScrn->pScreen, &pPriv->clip, clipBoxes); - if (pPriv->autoPaint) - xf86XVFillKeyHelper(pScrn->pScreen, pPriv->colorKey, clipBoxes); - + if(!RegionsEqual(&pPriv->clip, clipBoxes)) { + REGION_COPY(pScrn->pScreen, &pPriv->clip, clipBoxes); + if (pPriv->autoPaint) + xf86XVFillKeyHelper(pScrn->pScreen, pPriv->colorKey, clipBoxes); + } + /* * Update video overlay */ |