summaryrefslogtreecommitdiffstats
path: root/src/glx/glxcurrent.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2014-03-04 15:24:16 -0700
committerBrian Paul <[email protected]>2014-03-05 11:05:48 -0700
commit02cb04c68ffbdaffaf7513ddc951584cac29f209 (patch)
tree9612e6e4f9f93f370cdd43196b168e286726b430 /src/glx/glxcurrent.c
parent0b0114cc3bd8ceccaa6cbad161a13f2da2631ae0 (diff)
mesa: remove remaining uses of _glthread_GetID()
It was really only used in the radeon driver for a debug printf. And evidently, libGL.so referenced it just to work around some sort of linker issue. This patch removes the two calls to the function and the function itself. Fixes undefined _glthread_GetID symbol in libGL reported by 'nm'. Though, the missing symbol doesn't cause any issues on my system but it does cause glxinfo to fail on one of our test systems. Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/glx/glxcurrent.c')
-rw-r--r--src/glx/glxcurrent.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/glx/glxcurrent.c b/src/glx/glxcurrent.c
index a6884cf8da2..2e5111b8cf7 100644
--- a/src/glx/glxcurrent.c
+++ b/src/glx/glxcurrent.c
@@ -213,16 +213,6 @@ MakeContextCurrent(Display * dpy, GLXDrawable draw,
struct glx_context *gc = (struct glx_context *) gc_user;
struct glx_context *oldGC = __glXGetCurrentContext();
- /* XXX: If this is left out, then libGL ends up not having this
- * symbol, and drivers using it fail to load. Compare the
- * implementation of this symbol to _glapi_noop_enable_warnings(),
- * though, which gets into the library despite no callers, the same
- * prototypes, and the same compile flags to the files containing
- * them. Moving the definition to glapi_nop.c gets it into the
- * library, though.
- */
- (void)_glthread_GetID();
-
/* Make sure that the new context has a nonzero ID. In the request,
* a zero context ID is used only to mean that we bind to no current
* context.