summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--miext/sync/misync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miext/sync/misync.c b/miext/sync/misync.c
index b6914d18d..f38054754 100644
--- a/miext/sync/misync.c
+++ b/miext/sync/misync.c
@@ -190,7 +190,7 @@ miSyncSetup(ScreenPtr pScreen)
pScreenPriv = SYNC_SCREEN_PRIV(pScreen);
- if (pScreenPriv->funcs.CreateFence) {
+ if (!pScreenPriv->funcs.CreateFence) {
pScreenPriv->funcs = miSyncScreenFuncs;
/* Wrap CloseScreen to clean up */