Skip to content

Commit

Permalink
minimize window in RestoreDisplayMode
Browse files Browse the repository at this point in the history
  • Loading branch information
FunkyFr3sh committed Jul 7, 2018
1 parent 30b430d commit e4254f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e4254f7

Please sign in to comment.