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:
parent
d6749ba35a
commit
e6977614b0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user