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