mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 08:50:13 +01:00
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:
parent
f53ec64d68
commit
f0eed00010
1 changed files with 0 additions and 9 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue