diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_interface.h index a59d598c3bf..1424e24fe27 100644 --- a/include/GL/internal/dri_interface.h +++ b/include/GL/internal/dri_interface.h @@ -678,14 +678,6 @@ struct __DRIuseInvalidateExtensionRec { __DRIextension base; }; -/** - * The remaining extensions describe driver extensions, immediately - * available interfaces provided by the driver. To start using the - * driver, dlsym() for the __DRI_DRIVER_EXTENSIONS symbol and look for - * the extension you need in the array. - */ -#define __DRI_DRIVER_EXTENSIONS "__driDriverExtensions" - /** * This symbol replaces the __DRI_DRIVER_EXTENSIONS symbol, and will be * suffixed by "_drivername", allowing multiple drivers to be built into one diff --git a/src/gallium/targets/dri/dri.sym b/src/gallium/targets/dri/dri.sym index d4ffb588e05..6f502fa9f92 100644 --- a/src/gallium/targets/dri/dri.sym +++ b/src/gallium/targets/dri/dri.sym @@ -1,6 +1,5 @@ { global: - __driDriverExtensions; __driDriverGetExtensions*; nouveau_drm_screen_create; radeon_drm_winsys_create; diff --git a/src/loader/loader.c b/src/loader/loader.c index a00f16f0e99..f340b61433d 100644 --- a/src/loader/loader.c +++ b/src/loader/loader.c @@ -836,8 +836,6 @@ loader_open_driver(const char *driver_name, free(get_extensions_name); } - if (!extensions) - extensions = dlsym(driver, __DRI_DRIVER_EXTENSIONS); if (extensions == NULL) { log_(_LOADER_WARNING, "MESA-LOADER: driver exports no extensions (%s)\n", dlerror());