mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 13:56:56 +00:00
[OPENGL32]
- Implement storing thread data into the TEB CORE-14024
This commit is contained in:
parent
1bfbdb6123
commit
6aaf217b10
7 changed files with 437 additions and 357 deletions
|
@ -48,9 +48,8 @@ DllMain(HINSTANCE hInstance, DWORD Reason, LPVOID Reserved)
|
|||
#ifdef OPENGL32_USE_TLS
|
||||
if (!init_tls_data())
|
||||
return FALSE;
|
||||
#else
|
||||
NtCurrentTeb()->glTable = &StubTable.glDispatchTable;
|
||||
#endif // defined(OPENGL32_USE_TLS)
|
||||
IntSetCurrentDispatchTable(&StubTable.glDispatchTable);
|
||||
break;
|
||||
|
||||
case DLL_THREAD_DETACH:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue