glx: Remove support for glXGetDriverConfig for old drivers

gallium implements __DRI_CONFIG_OPTIONS version 2.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20549>
This commit is contained in:
Adam Jackson 2023-01-03 17:12:42 -05:00 committed by Marge Bot
parent f53ec64d68
commit f0eed00010

View file

@ -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;