[PATCH] glamor: Fix build when configured --enable-glamor --disable-xshmfence
Jon TURNEY
jon.turney at dronecode.org.uk
Thu Feb 5 04:52:02 PST 2015
Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
---
glamor/glamor_sync.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/glamor/glamor_sync.c b/glamor/glamor_sync.c
index 5e158c3..fbc47d4 100644
--- a/glamor/glamor_sync.c
+++ b/glamor/glamor_sync.c
@@ -94,8 +94,10 @@ glamor_sync_init(ScreenPtr screen)
return FALSE;
}
+#ifdef HAVE_XSHMFENCE
if (!miSyncShmScreenInit(screen))
return FALSE;
+#endif
screen_funcs = miSyncGetScreenFuncs(screen);
glamor->saved_procs.sync_screen_funcs.CreateFence = screen_funcs->CreateFence;
--
2.1.4
More information about the xorg-devel
mailing list