[PATCH] present: Don't try to initialize when building without present support

Jasper St. Pierre jstpierre at mecheye.net
Thu Nov 7 09:42:13 PST 2013


Reviewed-by: Jasper St. Pierre <jstpierre at mecheye.net>


On Thu, Nov 7, 2013 at 12:01 PM, Adam Jackson <ajax at redhat.com> wrote:

> There's a --disable-present, so it'd be nice if it worked.
>
> Signed-off-by: Adam Jackson <ajax at redhat.com>
> ---
>  mi/miinitext.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/mi/miinitext.c b/mi/miinitext.c
> index 6366182..67511b8 100644
> --- a/mi/miinitext.c
> +++ b/mi/miinitext.c
> @@ -287,7 +287,9 @@ static ExtensionModule staticExtensions[] = {
>  #ifdef DPMSExtension
>      {DPMSExtensionInit, DPMSExtensionName, &noDPMSExtension},
>  #endif
> +#ifdef PRESENT
>      {present_extension_init, PRESENT_NAME, NULL},
> +#endif
>  #ifdef DRI3
>      {dri3_extension_init, DRI3_NAME, NULL},
>  #endif
> --
> 1.8.3.1
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
>



-- 
  Jasper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20131107/4fcda550/attachment-0001.html>


More information about the xorg-devel mailing list