summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}