diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-12-01 21:13:49 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-12-01 21:13:49 +0000 |
commit | 960f3f6bd9689aca1a4700be9f94ad3e9a7a6df9 (patch) | |
tree | ac437c553119451bcda7549f5818ec169a8227b2 /xserver | |
parent | ae71b0de3a909a651f031b3f369246eddfdfcff4 (diff) |
Call miSyncSetup() if we don't call miSyncShmScreenInit() because
HAVE_XSHMFENCE isn't defined. This makes sure the relevant "private key"
gets installed such that we don't hit a fatal assert later.
ok jsg@, matthieu@
Diffstat (limited to 'xserver')
-rw-r--r-- | xserver/glamor/glamor_sync.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xserver/glamor/glamor_sync.c b/xserver/glamor/glamor_sync.c index fbc47d4b3..907e0c613 100644 --- a/xserver/glamor/glamor_sync.c +++ b/xserver/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); |