Commit 538a0e4a authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

opengl32: Remove unused variable.

parent 8bf312d4
...@@ -43,8 +43,6 @@ ...@@ -43,8 +43,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(wgl); WINE_DEFAULT_DEBUG_CHANNEL(wgl);
WINE_DECLARE_DEBUG_CHANNEL(fps); WINE_DECLARE_DEBUG_CHANNEL(fps);
static HMODULE opengl32_handle;
extern struct opengl_funcs null_opengl_funcs; extern struct opengl_funcs null_opengl_funcs;
/* handle management */ /* handle management */
...@@ -1719,7 +1717,6 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved ) ...@@ -1719,7 +1717,6 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
switch(reason) switch(reason)
{ {
case DLL_PROCESS_ATTACH: case DLL_PROCESS_ATTACH:
opengl32_handle = hinst;
DisableThreadLibraryCalls(hinst); DisableThreadLibraryCalls(hinst);
NtCurrentTeb()->glTable = &null_opengl_funcs; NtCurrentTeb()->glTable = &null_opengl_funcs;
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment