mirror of
https://github.com/reactos/wine.git
synced 2024-12-12 13:56:38 +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)
|
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:
|
||||||
|
Loading…
Reference in New Issue
Block a user