summaryrefslogtreecommitdiff
path: root/glamor/glamor_sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'glamor/glamor_sync.c')
-rw-r--r--glamor/glamor_sync.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/glamor/glamor_sync.c b/glamor/glamor_sync.c
index fbc47d4b3..907e0c613 100644
--- a/glamor/glamor_sync.c
+++ b/glamor/glamor_sync.c
@@ -97,6 +97,9 @@ glamor_sync_init(ScreenPtr screen)
#ifdef HAVE_XSHMFENCE
if (!miSyncShmScreenInit(screen))
return FALSE;
+#else
+ if (!miSyncSetup(screen))
+ return FALSE;
#endif
screen_funcs = miSyncGetScreenFuncs(screen);