diff options
Diffstat (limited to 'src/mga_exa.c')
-rw-r--r-- | src/mga_exa.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/mga_exa.c b/src/mga_exa.c index d7cbf5d..6f09613 100644 --- a/src/mga_exa.c +++ b/src/mga_exa.c @@ -410,7 +410,7 @@ PrepareSourceTexture(int tmu, PicturePtr pSrcPicture, PixmapPtr pSrc) int h_log2 = MGA_LOG2(h); int texctl = MGA_PITCHLIN | ((pitch & (2048 - 1)) << 9) | - MGA_CLAMPUV | MGA_NOPERSPECTIVE; + MGA_CLAMPUV | MGA_NOPERSPECTIVE | MGA_TAKEY; int texctl2 = MGA_G400_TC2_MAGIC | MGA_TC2_CKSTRANSDIS; for (i = 0; i < sizeof(texformats) / sizeof(texformats[0]); i++) { @@ -420,12 +420,6 @@ PrepareSourceTexture(int tmu, PicturePtr pSrcPicture, PixmapPtr pSrc) } } - if (PICT_FORMAT_A(pSrcPicture->format) != 0) { - texctl |= MGA_TAKEY; - } else { - texctl |= MGA_TAMASK | MGA_TAKEY; - } - if (pSrcPicture->repeat) { texctl &= ~MGA_CLAMPUV; } |