mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
some more wine tweaks to improve performance on minimize
This commit is contained in:
parent
e59043f43f
commit
14ea479797
@ -876,7 +876,8 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||||||
{
|
{
|
||||||
WindowRect.right = LOWORD(lParam);
|
WindowRect.right = LOWORD(lParam);
|
||||||
WindowRect.bottom = HIWORD(lParam);
|
WindowRect.bottom = HIWORD(lParam);
|
||||||
ddraw_SetDisplayMode(ddraw, ddraw->width, ddraw->height, ddraw->bpp);
|
if (WindowRect.right != ddraw->render.width || WindowRect.bottom != ddraw->render.height)
|
||||||
|
ddraw_SetDisplayMode(ddraw, ddraw->width, ddraw->height, ddraw->bpp);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user