mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
fix for last commit
This commit is contained in:
parent
e39616b2e0
commit
a50ab60c89
@ -1410,7 +1410,7 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||||||
{
|
{
|
||||||
if (!Direct3D9Active)
|
if (!Direct3D9Active)
|
||||||
{
|
{
|
||||||
ChangeDisplaySettings(&ddraw->render.mode, ddraw->bnetActive ? CDS_FULLSCREEN : 0);
|
ChangeDisplaySettings(&ddraw->render.mode, CDS_FULLSCREEN);
|
||||||
|
|
||||||
if (wParam == WA_ACTIVE)
|
if (wParam == WA_ACTIVE)
|
||||||
{
|
{
|
||||||
@ -1438,7 +1438,7 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||||||
if (!Direct3D9Active)
|
if (!Direct3D9Active)
|
||||||
{
|
{
|
||||||
ShowWindow(ddraw->hWnd, SW_MINIMIZE);
|
ShowWindow(ddraw->hWnd, SW_MINIMIZE);
|
||||||
ChangeDisplaySettings(&ddraw->mode, CDS_FULLSCREEN);
|
ChangeDisplaySettings(&ddraw->mode, ddraw->bnetActive ? CDS_FULLSCREEN : 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user