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
1 changed files with 0 additions and 1 deletions

View File

@ -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: