Alexandre Julliard : opengl32: Make sure the function table is initialized in all threads.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Jun 25 13:42:03 CDT 2014


Module: wine
Branch: master
Commit: b72c8a7680ad2b5bc1963f63fd342f60ab445a41
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b72c8a7680ad2b5bc1963f63fd342f60ab445a41

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Jun 25 11:51:31 2014 +0200

opengl32: Make sure the function table is initialized in all threads.

---

 dlls/opengl32/wgl.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dlls/opengl32/wgl.c b/dlls/opengl32/wgl.c
index 9255e34..3a5e148 100644
--- a/dlls/opengl32/wgl.c
+++ b/dlls/opengl32/wgl.c
@@ -1726,7 +1726,6 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
     switch(reason)
     {
     case DLL_PROCESS_ATTACH:
-        DisableThreadLibraryCalls(hinst);
         NtCurrentTeb()->glTable = &null_opengl_funcs;
         break;
     case DLL_THREAD_ATTACH:




More information about the wine-cvs mailing list