diff options
author | Brian Paul <[email protected]> | 2014-03-04 15:24:16 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2014-03-05 11:05:48 -0700 |
commit | 02cb04c68ffbdaffaf7513ddc951584cac29f209 (patch) | |
tree | 9612e6e4f9f93f370cdd43196b168e286726b430 /src/mesa | |
parent | 0b0114cc3bd8ceccaa6cbad161a13f2da2631ae0 (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/mesa')
-rw-r--r-- | src/mesa/drivers/dri/common/dri_test.c | 6 | ||||
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_fbo.c | 3 |
2 files changed, 1 insertions, 8 deletions
diff --git a/src/mesa/drivers/dri/common/dri_test.c b/src/mesa/drivers/dri/common/dri_test.c index 35732857dda..7ab50d9231e 100644 --- a/src/mesa/drivers/dri/common/dri_test.c +++ b/src/mesa/drivers/dri/common/dri_test.c @@ -76,12 +76,6 @@ _glapi_get_dispatch_table_size(void) return 0; } -PUBLIC unsigned long -_glthread_GetID(void) -{ - return 0; -} - #ifndef NO_MAIN int main(int argc, char** argv) { diff --git a/src/mesa/drivers/dri/radeon/radeon_fbo.c b/src/mesa/drivers/dri/radeon/radeon_fbo.c index 537ab49637c..12ad438771c 100644 --- a/src/mesa/drivers/dri/radeon/radeon_fbo.c +++ b/src/mesa/drivers/dri/radeon/radeon_fbo.c @@ -783,8 +783,7 @@ radeon_render_texture(struct gl_context * ctx, return; } - DBG("Begin render texture tid %lx tex=%u w=%d h=%d refcount=%d\n", - _glthread_GetID(), + DBG("Begin render texture tex=%u w=%d h=%d refcount=%d\n", att->Texture->Name, newImage->Width, newImage->Height, rb->RefCount); |