wgl: Cope with pre-existing threads.
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 27 Apr 2009 17:48:11 +0000 (18:48 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 27 Apr 2009 17:48:11 +0000 (18:48 +0100)
commit76b9da9e98bad4bf22fe6610394236203b620bd9
tree6ebf434d72509f21580de9256c9bcf60c75f535a
parentc384ccb0c4f50f72bafdfb693d0aa36b4304a064
wgl: Cope with pre-existing threads.

DllMain is called with DLL_THREAD_ATTACH only by threads created after
the DLL is loaded by the process.
src/gallium/state_trackers/wgl/shared/stw_tls.c