[PATCH xserver 1/1] glx: remove unused GlxSetVisualConfigs stub
Emil Velikov
emil.l.velikov at gmail.com
Mon Jul 31 13:13:48 UTC 2017
From: Emil Velikov <emil.velikov at collabora.com>
The function was an empty since 2008 at least. Drop it since no
drivers use it any more.
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
glx/glxscreens.c | 7 -------
glx/glxserver.h | 2 --
2 files changed, 9 deletions(-)
diff --git a/glx/glxscreens.c b/glx/glxscreens.c
index 609661274..37929275e 100644
--- a/glx/glxscreens.c
+++ b/glx/glxscreens.c
@@ -176,13 +176,6 @@ glxGetScreen(ScreenPtr pScreen)
return dixLookupPrivate(&pScreen->devPrivates, glxScreenPrivateKey);
}
-_X_EXPORT void
-GlxSetVisualConfigs(int nconfigs, void *configs, void **privates)
-{
- /* We keep this stub around for the DDX drivers that still
- * call it. */
-}
-
GLint
glxConvertToXVisualType(int visualType)
{
diff --git a/glx/glxserver.h b/glx/glxserver.h
index e7ea8c282..732ed9d8e 100644
--- a/glx/glxserver.h
+++ b/glx/glxserver.h
@@ -77,8 +77,6 @@ extern __GLXclientState *glxGetClient(ClientPtr pClient);
/************************************************************************/
-void GlxSetVisualConfigs(int nconfigs, void *configs, void **privates);
-
void __glXScreenInitVisuals(__GLXscreen * screen);
/*
--
2.13.3
More information about the xorg-devel
mailing list