diff options
author | George Sapountzis <[email protected]> | 2010-03-01 04:44:02 +0200 |
---|---|---|
committer | George Sapountzis <[email protected]> | 2010-03-01 20:54:20 +0200 |
commit | d41ab94d35cb47effbd2582289298be4f13c50e4 (patch) | |
tree | 01210f712026af2a1daf5cf502df33b2b154f440 /src/gallium/state_trackers/wgl | |
parent | 7b454b00a4423937bd83ecff2d61ff08e6504707 (diff) |
glapi.c: misc coscmetic for FreeTSD
- move out of of the dispatch/context block to after corresponding init functions
- use more consistent naming with corresponding init functions
- XXX use _glthread_InitTSD() vs (void)_glthread_GetTSD() in _glapi_check_multithread() XXX
Diffstat (limited to 'src/gallium/state_trackers/wgl')
-rw-r--r-- | src/gallium/state_trackers/wgl/stw_device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/wgl/stw_device.c b/src/gallium/state_trackers/wgl/stw_device.c index e5fa6ac8eb4..472a2a5379a 100644 --- a/src/gallium/state_trackers/wgl/stw_device.c +++ b/src/gallium/state_trackers/wgl/stw_device.c @@ -47,7 +47,6 @@ #ifdef WIN32_THREADS extern _glthread_Mutex OneTimeLock; -extern void FreeAllTSD(void); #endif @@ -183,7 +182,8 @@ stw_cleanup(void) #ifdef WIN32_THREADS _glthread_DESTROY_MUTEX(OneTimeLock); - FreeAllTSD(); + + _glapi_destroy_multithread(); #endif #ifdef DEBUG |