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

This commit is contained in:
Alexandre Julliard 2014-06-25 11:51:31 +02:00
parent ad968be779
commit b72c8a7680

View File

@ -1726,7 +1726,6 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
switch(reason) switch(reason)
{ {
case DLL_PROCESS_ATTACH: case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hinst);
NtCurrentTeb()->glTable = &null_opengl_funcs; NtCurrentTeb()->glTable = &null_opengl_funcs;
break; break;
case DLL_THREAD_ATTACH: case DLL_THREAD_ATTACH: