ddraw: Add missing unlock (Smatch).

This commit is contained in:
Michael Stefaniuc 2010-10-25 23:50:37 +02:00 committed by Alexandre Julliard
parent 038fbe23cc
commit 1fe54842e0
1 changed files with 1 additions and 0 deletions

View File

@ -623,6 +623,7 @@ static HRESULT WINAPI ddraw7_SetCooperativeLevel(IDirectDraw7 *iface, HWND hwnd,
This->devicewindow = NULL;
}
LeaveCriticalSection(&ddraw_cs);
return DD_OK;
}
/* DDSCL_NORMAL or DDSCL_FULLSCREEN | DDSCL_EXCLUSIVE */