mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
redraw if viewport x/y are not 0
This commit is contained in:
parent
4725035462
commit
4114b96766
@ -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…
x
Reference in New Issue
Block a user