summaryrefslogtreecommitdiff
path: root/src/mga_exa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mga_exa.c')
-rw-r--r--src/mga_exa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mga_exa.c b/src/mga_exa.c
index 37b3432..bd960fa 100644
--- a/src/mga_exa.c
+++ b/src/mga_exa.c
@@ -647,7 +647,7 @@ mgaComposite(PixmapPtr pDst, int srcx, int srcy, int maskx, int masky,
if (pMga->currentMask) {
maskx %= pMga->currentMask->drawable.width;
- maskx %= pMga->currentMask->drawable.height;
+ masky %= pMga->currentMask->drawable.height;
}
t = pMga->currentSrcPicture->transform;