Commit 903146bd authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

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

parent 4ed24cd5
......@@ -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)
......
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