some more wine tweaks to improve performance on minimize
This commit is contained in:
parent
e59043f43f
commit
14ea479797
1 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue