dxgi: Delete the static critical section when unloading the dll.
This commit is contained in:
parent
4ed24cd5f5
commit
903146bdcd
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue