mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-25 07:10:05 +01:00
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>
(cherry picked from commit 8102927282)
This commit is contained in:
parent
e0bb4a1ec7
commit
d8153d1767
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue