mirror of
https://github.com/reactos/wine.git
synced 2024-12-04 09:53:54 +00:00
opengl32: Make sure the function table is initialized in all threads.
This commit is contained in:
parent
ad968be779
commit
b72c8a7680
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user