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@
This commit is contained in:
kettenis 2015-12-01 21:13:48 +00:00
parent d6749ba35a
commit e6977614b0

View File

@ -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);