summaryrefslogtreecommitdiff
path: root/glamor
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2015-02-05 12:52:02 +0000
committerEric Anholt <eric@anholt.net>2015-03-24 12:43:34 -0700
commit8102927282d5134493e5009a876a6b01a68d1f97 (patch)
treeb16c6357a0d29e81b6c6dd519e8b389fd2dbcf48 /glamor
parent4218a1e066cf39bb980ebbc9f69536c85232da5c (diff)
glamor: Fix build when configured --enable-glamor --disable-xshmfence
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'glamor')
-rw-r--r--glamor/glamor_sync.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/glamor/glamor_sync.c b/glamor/glamor_sync.c
index 5e158c33a..fbc47d4b3 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;