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>
This commit is contained in:
Jon TURNEY 2015-02-05 12:52:02 +00:00 committed by Eric Anholt
parent 4218a1e066
commit 8102927282
1 changed files with 2 additions and 0 deletions

View File

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