wined3d: Don't bother to unregister classes at process exit.
This commit is contained in:
parent
9cf94e30b2
commit
02d56bd3a2
|
@ -521,18 +521,15 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
|
|||
return wined3d_dll_init(hInstDLL);
|
||||
|
||||
case DLL_PROCESS_DETACH:
|
||||
if (lpv) break;
|
||||
return wined3d_dll_destroy(hInstDLL);
|
||||
|
||||
case DLL_THREAD_DETACH:
|
||||
{
|
||||
if (!context_set_current(NULL))
|
||||
{
|
||||
ERR("Failed to clear current context.\n");
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
default:
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue