[PATCH] glamor: Make glamor_sync_init work with --disable-xshmfence

Mark Kettenis kettenis at openbsd.org
Tue Nov 17 13:31:21 PST 2015


Signed-off-by: Mark Kettenis <kettenis at openbsd.org>
---
 glamor/glamor_sync.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/glamor/glamor_sync.c b/glamor/glamor_sync.c
index fbc47d4..907e0c6 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);
-- 
2.6.3



More information about the xorg-devel mailing list