projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[OPENGL32]
[reactos.git]
/
dll
/
opengl
/
opengl32
/
dllmain.c
diff --git
a/dll/opengl/opengl32/dllmain.c
b/dll/opengl/opengl32/dllmain.c
index
dae16d2
..
6639d0d
100644
(file)
--- a/
dll/opengl/opengl32/dllmain.c
+++ b/
dll/opengl/opengl32/dllmain.c
@@
-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: