minimize window in RestoreDisplayMode
This commit is contained in:
parent
30b430dbc7
commit
e4254f7f22
1 changed files with 3 additions and 1 deletions
|
@ -231,7 +231,9 @@ HRESULT __stdcall ddraw_RestoreDisplayMode(IDirectDrawImpl *This)
|
|||
WaitForSingleObject(This->render.thread, INFINITE);
|
||||
This->render.thread = NULL;
|
||||
}
|
||||
|
||||
|
||||
ShowWindow(This->hWnd, SW_MINIMIZE);
|
||||
|
||||
if(!ddraw->windowed)
|
||||
{
|
||||
ChangeDisplaySettings(&This->mode, 0);
|
||||
|
|
Loading…
Reference in a new issue