Fixes bugzillla #812.
authorIan Romanick <idr@us.ibm.com>
Fri, 5 Aug 2005 22:12:49 +0000 (22:12 +0000)
committerIan Romanick <idr@us.ibm.com>
Fri, 5 Aug 2005 22:12:49 +0000 (22:12 +0000)
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

index 4bb64c5..20faf0f 100644 (file)
@@ -41,14 +41,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.
  */
 static const int empty_attribute_list[1] = { None };