diff options
author | Tilman Sauerbeck <tilman@code-monkey.de> | 2006-09-10 00:04:21 +0200 |
---|---|---|
committer | Tilman Sauerbeck <tilman@code-monkey.de> | 2006-09-10 00:04:21 +0200 |
commit | 7739a929100d516e06646a38062df8da1f33f774 (patch) | |
tree | 9e2202d727a8cdbf2279a86172ba3ce398f1a702 | |
parent | 1a045b37db4c7c606ed056addf52d337dbdeb88d (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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 } |