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