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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mga_exa.c b/src/mga_exa.c
index 9c1572d..cfc54bb 100644
--- a/src/mga_exa.c
+++ b/src/mga_exa.c
@@ -525,8 +525,7 @@ mgaPrepareComposite(int op, PicturePtr pSrcPict, PicturePtr pMaskPict,
PMGA(pDst);
CARD32 ds0 = 0, ds1 = 0, cmd, blendcntl;
- /* FIXME needs mgaSetup magic */
- WAITFIFO(3);
+ mgaSetup(pSrc->drawable.pScreen, pDst->drawable.bitsPerPixel, 3);
OUTREG(MGAREG_FCOL, 0xff000000);
OUTREG(MGAREG_DSTORG, exaGetPixmapOffset(pDst));
OUTREG(MGAREG_PITCH, mgaGetPixmapPitch(pDst));