mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
minimize window in RestoreDisplayMode
This commit is contained in:
parent
30b430dbc7
commit
e4254f7f22
@ -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…
x
Reference in New Issue
Block a user