Skip to content

Commit

Permalink
Revert "minimize window in RestoreDisplayMode"
Browse files Browse the repository at this point in the history
This reverts commit e4254f7.
  • Loading branch information
FunkyFr3sh committed Jul 7, 2018
1 parent e4254f7 commit c1c3ac8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,7 @@ 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 c1c3ac8

Please sign in to comment.