opengl32: Remove unused variable.

This commit is contained in:
Andrew Talbot 2012-11-24 21:09:46 +00:00 committed by Alexandre Julliard
parent 8bf312d40e
commit 538a0e4a9e

View file

@ -43,8 +43,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(wgl);
WINE_DECLARE_DEBUG_CHANNEL(fps);
static HMODULE opengl32_handle;
extern struct opengl_funcs null_opengl_funcs;
/* handle management */
@ -1719,7 +1717,6 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
switch(reason)
{
case DLL_PROCESS_ATTACH:
opengl32_handle = hinst;
DisableThreadLibraryCalls(hinst);
NtCurrentTeb()->glTable = &null_opengl_funcs;
break;