From f0eed0001032b9bfef12e346709a7d95f9966775 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Tue, 3 Jan 2023 17:12:42 -0500 Subject: glx: Remove support for glXGetDriverConfig for old drivers gallium implements __DRI_CONFIG_OPTIONS version 2. Part-of: --- src/glx/dri_common.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/glx') diff --git a/src/glx/dri_common.c b/src/glx/dri_common.c index beab616c544..0bd2f025ae5 100644 --- a/src/glx/dri_common.c +++ b/src/glx/dri_common.c @@ -749,20 +749,11 @@ get_driver_config(const char *driverName) if (ext->base.version >= 2) config = ext->getXml(driverName); - else - config = strdup(ext->xml); break; } } - if (!config) { - /* Fall back to the old method */ - config = dlsym(handle, "__driConfigOptions"); - if (config) - config = strdup(config); - } - dlclose(handle); return config; -- cgit v1.2.3