[PATCH] glamor: Fix build when configured --enable-glamor --disable-xshmfence

Eric Anholt eric at anholt.net
Thu Feb 5 11:10:06 PST 2015


Jon TURNEY <jon.turney at dronecode.org.uk> writes:

> Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
> ---
>  glamor/glamor_sync.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/glamor/glamor_sync.c b/glamor/glamor_sync.c
> index 5e158c3..fbc47d4 100644
> --- a/glamor/glamor_sync.c
> +++ b/glamor/glamor_sync.c
> @@ -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;

Reviewed and applied to -next.  Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20150205/d4e046aa/attachment.sig>


More information about the xorg-devel mailing list