diff options
author | Tilman Sauerbeck <tilman@code-monkey.de> | 2006-08-28 22:19:23 +0200 |
---|---|---|
committer | Tilman Sauerbeck <tilman@code-monkey.de> | 2006-08-28 22:19:23 +0200 |
commit | 056915493981be3f3b9270334e0f992a290dfab6 (patch) | |
tree | 6fc6027dd22c1b9f0774550722fda94caf4e7cfa /src/mga_exa.c | |
parent | b8320d198abe0cd26b2f76b9add634ef8245ba27 (diff) |
Make this code a little more readable.
Diffstat (limited to 'src/mga_exa.c')
-rw-r--r-- | src/mga_exa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mga_exa.c b/src/mga_exa.c index 01af045..45c6085 100644 --- a/src/mga_exa.c +++ b/src/mga_exa.c @@ -667,7 +667,7 @@ mgaComposite(PixmapPtr pDst, int srcx, int srcy, int maskx, int masky, setTMIncrementsRegs(pMga->currentSrc, 1 << 16, 0, srcx << 16, 0, 1 << 16, srcy << 16, - 0, 0, 0x10000, + 0, 0, 1 << 16, 20 - pMga->src_w2, 20 - pMga->src_h2); @@ -695,7 +695,7 @@ mgaComposite(PixmapPtr pDst, int srcx, int srcy, int maskx, int masky, setTMIncrementsRegs(pMga->currentMask, 1 << 16, 0, maskx << 16, 0, 1 << 16, masky << 16, - 0, 0, 0x10000, + 0, 0, 1 << 16, 20 - pMga->mask_w2, 20 - pMga->mask_h2); |