diff options
author | José Fonseca <[email protected]> | 2011-03-06 09:12:30 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2011-03-06 09:12:30 +0000 |
commit | e1510d48165abbfdbe5036b6eb1e4ae89b4ad5fb (patch) | |
tree | 74aed94bcbb2d741d7fa18916951b0d06a99bba4 /src/gallium/state_trackers/wgl | |
parent | b531b01b707370df2cf013fc18c70eda62f5b4be (diff) |
st/wgl: No need to initialize OneTimeLock anymore.
Diffstat (limited to 'src/gallium/state_trackers/wgl')
-rw-r--r-- | src/gallium/state_trackers/wgl/stw_device.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gallium/state_trackers/wgl/stw_device.c b/src/gallium/state_trackers/wgl/stw_device.c index 4ece4e4979a..445db9cd9b8 100644 --- a/src/gallium/state_trackers/wgl/stw_device.c +++ b/src/gallium/state_trackers/wgl/stw_device.c @@ -41,8 +41,6 @@ #include "stw_framebuffer.h" #include "stw_st.h" -extern _glthread_Mutex OneTimeLock; - struct stw_device *stw_dev = NULL; @@ -74,8 +72,6 @@ stw_init(const struct stw_winsys *stw_winsys) stw_dev->stw_winsys = stw_winsys; - _glthread_INIT_MUTEX(OneTimeLock); - stw_dev->stapi = stw_st_create_api(); stw_dev->smapi = CALLOC_STRUCT(st_manager); if (!stw_dev->stapi || !stw_dev->smapi) @@ -168,8 +164,6 @@ stw_cleanup(void) stw_dev->screen->destroy(stw_dev->screen); - _glthread_DESTROY_MUTEX(OneTimeLock); - /* glapi is statically linked: we can call the local destroy function. */ #ifdef _GLAPI_NO_EXPORTS _glapi_destroy_multithread(); |