mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +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.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