summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@code-monkey.de>2006-08-26 22:32:25 +0200
committerTilman Sauerbeck <tilman@code-monkey.de>2006-08-26 22:32:25 +0200
commit6c365757891c3e0e0a55c7bea995ef8a4fb3f69c (patch)
treeefb93cba61e6040227acbb378cba1bedd33a6584 /src
parent2efbc687fcc0d05dca241e4079d9236d9cce0dde (diff)
Added missing mgaSetup() call to the PrepareComposite hook.
Diffstat (limited to 'src')
-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));