wined3d: Don't bother to unregister classes at process exit.

This commit is contained in:
Alexandre Julliard 2013-05-14 11:30:43 +02:00
parent 9cf94e30b2
commit 02d56bd3a2
1 changed files with 2 additions and 5 deletions

View File

@ -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;
}
return TRUE;
}