summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@code-monkey.de>2006-09-10 00:04:21 +0200
committerTilman Sauerbeck <tilman@code-monkey.de>2006-09-10 00:04:21 +0200
commit7739a929100d516e06646a38062df8da1f33f774 (patch)
tree9e2202d727a8cdbf2279a86172ba3ce398f1a702
parent1a045b37db4c7c606ed056addf52d337dbdeb88d (diff)
The XAA path in MGA_SYNC() now only syncs the engine if NeedToSync is set.
This makes both paths behave the same way.
-rw-r--r--src/mga.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mga.h b/src/mga.h
index 62f8042..344593d 100644
--- a/src/mga.h
+++ b/src/mga.h
@@ -733,7 +733,7 @@ MGA_SYNC(MGAPtr pMga, ScrnInfoPtr pScrn)
exaWaitSync(pScrn->pScreen);
#endif
#ifdef USE_XAA
- if (!pMga->Exa && pMga->AccelInfoRec)
+ if (!pMga->Exa && pMga->AccelInfoRec && pMga->AccelInfoRec->NeedToSync)
pMga->AccelInfoRec->Sync(pScrn);
#endif
}