summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hellstrom <unichrome@shipmail.org>2005-10-25 17:18:30 +0000
committerThomas Hellstrom <unichrome@shipmail.org>2005-10-25 17:18:30 +0000
commit0eef0af4120a93a19e746d70ddb0a0be96b9ce38 (patch)
tree5b777bdb3ae8ae6829bd60942a08249b82be811e
parentac371259ff343f73e188348d7e7e36bf50b4b647 (diff)
Colorkey autopainting bugfix
-rw-r--r--src/via_video.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/via_video.c b/src/via_video.c
index d58a459..78fc00e 100644
--- a/src/via_video.c
+++ b/src/via_video.c
@@ -1101,11 +1101,9 @@ viaPutImage(
pVia->VideoStatus |= VIDEO_SWOV_ON;
/* BitBlt: Draw the colorkey rectangle */
- if(!RegionsEqual(&pPriv->clip, clipBoxes)) {
- REGION_COPY(pScrn->pScreen, &pPriv->clip, clipBoxes);
- if (pPriv->autoPaint)
- xf86XVFillKeyHelper(pScrn->pScreen, pPriv->colorKey, clipBoxes);
- }
+ REGION_COPY(pScrn->pScreen, &pPriv->clip, clipBoxes);
+ if (pPriv->autoPaint)
+ xf86XVFillKeyHelper(pScrn->pScreen, pPriv->colorKey, clipBoxes);
/*
* Update video overlay