ddraw: Add missing unlock (Smatch).
This commit is contained in:
parent
038fbe23cc
commit
1fe54842e0
|
@ -623,6 +623,7 @@ static HRESULT WINAPI ddraw7_SetCooperativeLevel(IDirectDraw7 *iface, HWND hwnd,
|
||||||
This->devicewindow = NULL;
|
This->devicewindow = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LeaveCriticalSection(&ddraw_cs);
|
||||||
return DD_OK;
|
return DD_OK;
|
||||||
}
|
}
|
||||||
/* DDSCL_NORMAL or DDSCL_FULLSCREEN | DDSCL_EXCLUSIVE */
|
/* DDSCL_NORMAL or DDSCL_FULLSCREEN | DDSCL_EXCLUSIVE */
|
||||||
|
|
Loading…
Reference in New Issue