dxgi: Delete the static critical section when unloading the dll.

This commit is contained in:
Francois Gouget 2011-11-16 16:31:35 +01:00 committed by Alexandre Julliard
parent 4ed24cd5f5
commit 903146bdcd

View file

@ -54,6 +54,7 @@ static void dxgi_main_cleanup(void)
dxgi_main.d3d10core = NULL;
LeaveCriticalSection(&dxgi_cs);
DeleteCriticalSection(&dxgi_cs);
}
BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)