mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
dxgi: Delete the static critical section when unloading the dll.
This commit is contained in:
parent
4ed24cd5f5
commit
903146bdcd
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue