From: Emil Velikov Date: Tue, 27 Sep 2016 12:39:36 +0000 (+0100) Subject: glx: don't expose systemTimeExtension for DRI2/DRI3/DRISW X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eec0cd71cdbefddccebd5fe895ca7d017f1148fe;p=mesa.git glx: don't expose systemTimeExtension for DRI2/DRI3/DRISW Used/applicable to only dri1 drivers. Signed-off-by: Emil Velikov --- diff --git a/src/glx/dri2_glx.c b/src/glx/dri2_glx.c index d6eb281cf9e..5b93f2f6f49 100644 --- a/src/glx/dri2_glx.c +++ b/src/glx/dri2_glx.c @@ -1393,8 +1393,6 @@ dri2CreateDisplay(Display * dpy) else pdp->loader_extensions[i++] = &dri2LoaderExtension.base; - pdp->loader_extensions[i++] = &systemTimeExtension.base; - pdp->loader_extensions[i++] = &dri2UseInvalidate.base; pdp->loader_extensions[i++] = NULL; diff --git a/src/glx/dri3_glx.c b/src/glx/dri3_glx.c index 42a94f9f242..9c15395adf8 100644 --- a/src/glx/dri3_glx.c +++ b/src/glx/dri3_glx.c @@ -511,7 +511,6 @@ const __DRIuseInvalidateExtension dri3UseInvalidate = { static const __DRIextension *loader_extensions[] = { &imageLoaderExtension.base, - &systemTimeExtension.base, &dri3UseInvalidate.base, NULL }; diff --git a/src/glx/drisw_glx.c b/src/glx/drisw_glx.c index 241ac7f6d2c..110b7f8d92d 100644 --- a/src/glx/drisw_glx.c +++ b/src/glx/drisw_glx.c @@ -219,7 +219,6 @@ static const __DRIswrastLoaderExtension swrastLoaderExtension = { }; static const __DRIextension *loader_extensions[] = { - &systemTimeExtension.base, &swrastLoaderExtension.base, NULL };