From 6965f2cb0a481e88fb87f34f82d775bc2080a460 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Fri, 5 Aug 2005 22:12:49 +0000 Subject: Fixes bugzillla #812. The weak version of _glapi_DispatchTSD was removed from dri_util.c. As stated in the bug report, this was only needed to support versions of libGL that did not have this symbol. Versions of libGL without this symbol are no longer supported at all, so it is totally irrelevant. --- src/mesa/drivers/dri/common/dri_util.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/mesa/drivers/dri/common') diff --git a/src/mesa/drivers/dri/common/dri_util.c b/src/mesa/drivers/dri/common/dri_util.c index 4bb64c53f8..20faf0fda4 100644 --- a/src/mesa/drivers/dri/common/dri_util.c +++ b/src/mesa/drivers/dri/common/dri_util.c @@ -40,14 +40,6 @@ typedef GLboolean ( * PFNGLXGETMSCRATEOMLPROC) (__DRInativeDisplay *dpy, __DRIid */ const __DRIinterfaceMethods * dri_interface = NULL; -/** - * Weak thread-safety dispatch pointer. Older versions of libGL will not have - * this symbol, so a "weak" version is included here so that the driver will - * dynamically link properly. The value is set to \c NULL. This forces the - * driver to fall back to the old dispatch interface. - */ -struct _glapi_table *_glapi_DispatchTSD __attribute__((weak)) = NULL; - /** * This is used in a couple of places that call \c driCreateNewDrawable. */ -- cgit v1.2.3