redraw if viewport x/y are not 0
This commit is contained in:
parent
4725035462
commit
4114b96766
1 changed files with 1 additions and 1 deletions
|
@ -441,7 +441,7 @@ HRESULT __stdcall ddraw_SetDisplayMode(IDirectDrawImpl *This, DWORD width, DWORD
|
|||
mouse_lock();
|
||||
}
|
||||
|
||||
if(This->boxing || This->maintas)
|
||||
if(This->render.viewport.x != 0 || This->render.viewport.y != 0)
|
||||
{
|
||||
RedrawWindow(This->hWnd, NULL, NULL, RDW_ERASE | RDW_INVALIDATE);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue