From eec0cd71cdbefddccebd5fe895ca7d017f1148fe Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Tue, 27 Sep 2016 13:39:36 +0100 Subject: [PATCH] glx: don't expose systemTimeExtension for DRI2/DRI3/DRISW Used/applicable to only dri1 drivers. Signed-off-by: Emil Velikov --- src/glx/dri2_glx.c | 2 -- src/glx/dri3_glx.c | 1 - src/glx/drisw_glx.c | 1 - 3 files changed, 4 deletions(-) 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 }; -- 2.30.2